requestOwnershipHandover

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

Example

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

Parameters

The options for the "requestOwnershipHandover" function.

Type

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

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.