Skip to main content
The Token Program Service provides instruction builders for the two Solana token programs. Each method returns a 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

MethodDescriptionPage
CreateToken2022Mint / CreateSPLTokenMintCreate a new token mint. Token-2022 supports extensions; SPL Token supports Metaplex metadata.Mint Creation
CreateToken2022HoldingAccount / CreateSPLTokenHoldingAccountCreate an Associated Token Account to hold tokens for a wallet.Holding Accounts
MintMint new tokens to a destination wallet (token-program agnostic).Mint
ParseMintParse a mint account’s state, detecting token program, authority, decimals, and extensions.ParseMint