completeOwnershipHandover

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

Example

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

Parameters

The options for the "completeOwnershipHandover" function.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.