transferContractOwnership
Transfers ownership of a given contractId to an intended ownerId, must be called by current owner
As with all new SDK api methods, this call should be wrapped in execute and passed a signing method
transferContractOwnership(args: TransferContractOwnershipArgs): NearContractCall
transferContractOwnership
takes a single argument of type TransferContractOwnershipArgs
Example usage of transferContractOwnership
method in a hypothetical React component:
TransferContractOwnershipComponent.ts
Last updated
Was this helpful?