GetTransferTokensInstructionsArgs
Type declaration
Name | Type | Description |
---|---|---|
amount | bigint | number | Amount of tokens to be transferred to the destination via their destinationAta |
authority | TransactionSigner | Address | The source account's owner/delegate or its multi-signature account: - this should normally by a TransactionSigner - only for multi-sig authorities (like Squads Protocol), should you supply an Address |
destination | TransactionSigner | Address | Wallet address to receive the tokens, via their associated token account: destinationAta |
destinationAta | Address | Associated token account (ata) address for destination and this mint See getAssociatedTokenAccountAddress Example getAssociatedTokenAccountAddress(mint, destination, tokenProgram); |
sourceAta | Address | Associated token account (ata) address for authority and this mint See getAssociatedTokenAccountAddress Example getAssociatedTokenAccountAddress(mint, authority, tokenProgram); |