RPC connection to use
Transaction fee payer
Mint address (SPL, Token-2022, or light-token mint)
Destination token account address (must be an existing onchain token account)
Mint authority (can be Signer or PublicKey if multiSigners provided)
Amount to mint
Optional: Multi-signature signers (default: [])
OptionalconfirmOptions: ConfirmOptionsOptional: Transaction confirmation options
OptionalprogramId: PublicKeyOptional: Token program ID. If undefined, auto-detects.
Transaction signature
Mint tokens to a decompressed/onchain token account. Works with SPL, Token-2022, and light-token mints.
This function ONLY mints to light-token associated token accounts (hot), never to compressed light-token accounts (cold). For light-token mints, the light mint account must exist (mint must be decompressed first).
The signature matches the standard SPL mintTo for simplicity and consistency.