completeOwnershipHandover

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

Example

import { sendTransaction } from "thirdweb";
import { completeOwnershipHandover } from "thirdweb/extensions/modules";
const transaction = completeOwnershipHandover({
contract,
pendingOwner: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });
function completeOwnershipHandover(
| { asyncParams: () => Promise<CompleteOwnershipHandoverParams> }
>,

Parameters

The options for the "completeOwnershipHandover" function.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.