transferDelegatedInterface transfers tokens from an associated token account as an approved delegate. The delegate is the transaction authority. Only the delegate and fee payer sign; the owner’s signature is not required.
- The recipient is a wallet address (associated token account derived and created internally)
- The amount must be within the approved allowance
- Each transfer reduces the remaining allowance
Agent skill
Agent skill
- Guide
Delegated Transfer
Installation
Installation
- npm
- yarn
- pnpm
Install packages in your working directory:Install the CLI globally:
- Localnet
- Devnet
In the code examples, use
createRpc() without arguments for localnet.- Action
- Instruction