in-solana by Supanode

What Is SPL Token in Solana?

SPL Token is the token standard on Solana, similar to ERC-20 on Ethereum. All fungible tokens (USDC, USDT, wrapped SOL) and most non-fungible tokens on Solana are SPL tokens managed by the Token Program.

Token structure

An SPL token consists of two types of accounts:

  • Mint account — defines the token (decimals, supply, mint authority, freeze authority). There is one mint per token type.
  • Token accounts — hold balances for specific owners. Each wallet needs one token account per mint it holds.

Creating a token

  1. Create a mint account with desired decimals and authorities
  2. Create token accounts (ATAs) for recipients
  3. Mint tokens to those accounts using the MintTo instruction

Common operations

OperationDescription
MintToCreate new tokens (requires mint authority)
TransferMove tokens between accounts
BurnDestroy tokens, reducing supply
ApproveDelegate spending to another account
CloseAccountClose an empty token account and recover rent

FAQ

What is the difference between SPL Token and Token-2022? SPL Token is the original standard. Token-2022 adds extensions like transfer fees, confidential transfers, and on-chain metadata. Both standards coexist on Solana.

How do I check a token’s supply? Use getTokenSupply with the mint address to get the current circulating supply.

Do SPL tokens have metadata? The Token Program itself does not store metadata. Token metadata (name, symbol, image URI) is stored by Metaplex Token Metadata or, for Token-2022 mints, via the TokenMetadata extension.

Updated: