The wallet to send the tokens to.
Optional
authority?: Signer | TokenMetadataAuthorityTokenDelegate | TokenMetadataAuthorityHolderAn authority allowed to transfer the asset.
Note that Metadata authorities are not supported for this instruction.
If a Signer
is provided directly,
it will be used as an Holder authority.
metaplex.identity()
Optional
authorizationThe authorization rules and data to use for the transfer.
TokenMetadataAuthorizationDetails
Defaults to not using auth rules.
Optional
fromThe wallet to get the tokens from.
The public key of the provided authority.
Optional
fromThe token account to be debited.
Defaults to the associated token account of fromOwner
.
Optional
toThe token account to be credited.
Defaults to the associated token account of toOwner
.
Optional
amount?: SplTokenAmountThe amount of tokens to transfer.
token(1)
Optional
compression?: TransferNftCompressionParamThe compression data needed for transfer.
Generated using TypeDoc
The NFT or SFT to transfer. We only need its address and token standard.