This method returns a
SolanaInstruction. Add it to a transaction and use the Transaction Service to compile, sign, and submit. See Instructions & Transactions.Request
Base58-encoded public key (string)
required
The token mint to mint from.
Base58-encoded public key (string)
required
The system account (wallet) that owns the destination token account. The ATA is derived from this address and the mint automatically. Do not pass the ATA address here.
string (decimal)
required
Human-readable token amount. Express in whole-token units using the mint’s decimal precision.Examples:
"1.5"— 1.5 tokens on a 6-decimal mint"1000"— 1000 whole tokens"0.000001"— 1 base unit on a 6-decimal mint
Response
SolanaInstruction (object)
required
The
MintToChecked instruction. Add this to your transaction.