transfer

transfer is a method on the ANT class that transfers ownership of the ANT process to another wallet address.

transfer requires authentication.

Examples

transfer

const { id: txId } = await ant.transfer({
    target: "t4Xr0_J4Iurt7caNST02cMotaz2FIbWQ4Kbj616RHl3"
});

Parameters

ParameterTypeDescriptionOptional
targetstring - WalletAddressThe wallet address to transfer ownership tofalse
tagsarray

An array of GQL tag objects to attach to the transfer AO message

true

Was this page helpful?