RPC connection
Fee payer public key
Mint address
ATA address
Delegate to approve
Amount to delegate
Owner public key
Token decimals
Token program ID (default: LIGHT_TOKEN_PROGRAM_ID)
Optionaloptions: InterfaceOptionsOptional interface options (wrap is nested here)
Instruction batches
Build instruction batches for approving a delegate on an ATA.
Supports light-token, SPL, and Token-2022 mints. Returns
TransactionInstruction[][]. Send [0..n-2] in parallel, then [n-1].