SolanaInstruction (or a list of instructions for multi-step setup). Before using any method, choose the right token program for your use case.
Not sure which token program to use? See Token Programs for the trade-offs between SPL Token and Token-2022, and why the choice is permanent.
Token Program methods that create instructions return
SolanaInstruction objects. Add them to a transaction and use the Transaction Service to execute on-chain. See Instructions & Transactions.Methods
| Method | Description | Page |
|---|---|---|
| CreateToken2022Mint / CreateSPLTokenMint | Create a new token mint. Token-2022 supports extensions; SPL Token supports Metaplex metadata. | Mint Creation |
| CreateToken2022HoldingAccount / CreateSPLTokenHoldingAccount | Create an Associated Token Account to hold tokens for a wallet. | Holding Accounts |
| Mint | Mint new tokens to a destination wallet (token-program agnostic). | Mint |
| ParseMint | Parse a mint account’s state, detecting token program, authority, decimals, and extensions. | ParseMint |