transferContractOwnership takes a single argument of type TransferContractOwnershipArgs
exporttypeTransferContractOwnershipArgs= {//id of the contract for which the ownership will be transfered contractAddress:string;//intended owner of the contract nextOwner:string; options?: {//keep the current minters, defaults to true if options aren't given keepMinters:boolean; }; };
Example usage of transferContractOwnership method in a hypothetical React component: