cancelOwnershipHandover

Prepares a transaction to call the "cancelOwnershipHandover" function on the contract.

Example

import { sendTransaction } from "thirdweb";
import { cancelOwnershipHandover } from "thirdweb/extensions/modules";
const transaction = cancelOwnershipHandover();
// Send the transaction
await sendTransaction({ transaction, account });
function cancelOwnershipHandover(

Parameters

The options for the "cancelOwnershipHandover" function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.