SPL Token Basics
This section covers the basics for interacting with SPL Tokens, focusing on the most commonly used instructions.
All examples in this section work identically with both the original Token Program and the Token Extension Program (Token 2022), as they share the same base implementation.
The most common instructions you'll see when interacting with SPL Tokens include:
Create a Token Mint
Learn how to create an SPL Token mint.
Create a Token Account
Learn how to create SPL Token Accounts.
Mint Tokens
Learn how to mint new units of a token.
Transfer Tokens
Learn how to transfer tokens between token accounts.
Approve Delegate
Learn how to approve delegates for a token account.
Revoke Delegate
Learn how to revoke the token account delegate.
Set Authority
Learn how to set authority for mints or token accounts.
Burn Tokens
Learn how to burn tokens.
Sync Native
Learn how to convert native SOL to wrapped SOL.
Close Token Account
Learn how to close token accounts.
Freeze Account
Learn how to freeze token accounts.
Thaw Account
Learn how to thaw a frozen token account.
Is this page helpful?