Build instruction batches for revoking delegation on an ATA.
Supports light-token, SPL, and Token-2022 mints. Returns TransactionInstruction[][]. Send [0..n-2] in parallel, then [n-1].
TransactionInstruction[][]
RPC connection
Fee payer public key
Mint address
ATA address
Owner public key
Token decimals
Token program ID (default: LIGHT_TOKEN_PROGRAM_ID)
Optional
Optional interface options (wrap is nested here)
wrap
Instruction batches
For light-token mints, all cold (compressed) balances are loaded into the hot ATA before the revoke instruction. Users with many cold accounts may see additional load transactions.
Build instruction batches for revoking delegation on an ATA.
Supports light-token, SPL, and Token-2022 mints. Returns
TransactionInstruction[][]. Send [0..n-2] in parallel, then [n-1].