RPC connection
Fee payer (signer)
ATA address
Mint address
Delegate to approve
Amount to delegate
Owner of the token account (signer)
OptionalconfirmOptions: ConfirmOptionsOptional confirm options
Token program ID (default: LIGHT_TOKEN_PROGRAM_ID)
Optionaloptions: InterfaceOptionsOptional interface options (wrap is nested here)
Optionaldecimals: numberTransaction signature
Approve a delegate for an associated token account.
Supports light-token, SPL, and Token-2022 mints. For light-token mints, loads cold accounts if needed before sending the approve instruction.