The compression data needed for transfer. Including the assetProof, concurrent merkle tree account info, and compression metadata.
The compressed NFT or SFT to transfer. We only need its address and token standard.
Optional
amount?: undefined | SplTokenAmountThe amount of tokens to transfer.
token(1)
Optional
toThe token account to be credited.
Defaults to the associated token account of toOwner
.
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
authority?: undefined | Signer | TokenMetadataAuthorityHolder | TokenMetadataAuthorityTokenDelegateAn 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
instructionA key to distinguish the instruction that uses the NFT.
Generated using TypeDoc
The wallet to send the tokens to.