This method returns a
SolanaInstruction. Add it to a transaction and use the Transaction Service to compile, sign, and submit. See Instructions & Transactions.Request
The token mint to mint from.
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.
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
The
MintToChecked instruction. Add this to your transaction.