The amount of tokens to send.
Optional
delegateThe delegate authority of the source token account as a Signer.
This is required when the owner of the source token account is provided as a PublicKey as someone needs to authorize that transfer of tokens.
Defaults to not using a delegate authority.
Optional
toThe owner of the destination token account.
metaplex.identity().publicKey
Optional
toThe address of the destination token account.
Note that this may be required as a Signer
if the destination
token account does not exist and we need to create it before
sending the tokens.
Defaults to using the associated token account
from the mintAddress
and toOwner
parameters.
Optional
fromThe owner of the source token account.
This may be provided as a PublicKey if one of the following is true:
fromMultiSigners
parameter is provided.delegateAuthority
parameter is provided.metaplex.identity()
Optional
fromThe address of the source token account.
Defaults to using the associated token account
from the mintAddress
and fromOwner
parameters.
Optional
fromThe signing accounts to use if the source token owner is a multisig.
[]
Optional
toWhether or not the receiving token account already exists.
If false
, we'll add another instruction to create it.
true
Optional
createA key to distinguish the instruction that creates the associated token account.
Optional
createA key to distinguish the instruction that creates the token account.
Optional
initializeA key to distinguish the instruction that initializes the token account.
Optional
transferA key to distinguish the instruction that transfers the tokens.
Generated using TypeDoc
The address of the mint account.