Skip to main content

What Are Solana Token-2022 Tokens?

Solana has two token programs. Most tokens use the original SPL Token program. Newer tokens can use Token-2022, also called Token Extensions, which lets the token's creator add extra rules, such as a fee on every transfer.

In Gem Wallet, both kinds work the same way for everyday use. They live on your Solana address, you need SOL to pay network fees, and you send and receive them like any other Solana token.

How Gem Wallet Handles Token-2022 Tokens​

  • Balances: since version 2.114.105, Gem Wallet finds Token-2022 balances on your Solana address the same way it finds SPL token balances. If a token still doesn't show, add it with its mint address. See How to Add a Token or Custom Token on Gem Wallet.
  • Receiving: use your normal Solana address. Gem Wallet doesn't show a separate address for Token-2022 tokens.
  • Sending: Gem Wallet uses the token's own program. If the recipient doesn't have an account for that token yet, the send creates one and you pay a small rent deposit in SOL. See What is Solana Rent?.
  • Swapping: Token-2022 tokens can be swapped like other Solana tokens when a provider offers a route. See Restricted Tokens and Swaps.

What Is a Transfer Fee?​

The transfer fee extension lets a token's creator take a percentage of every transfer. The network holds back that part of the amount, so the recipient gets less than you sent.

  • The fee is set by the token's creator, not by Gem Wallet or the Solana network.
  • Gem Wallet doesn't receive any of it.
  • It comes on top of the normal Solana network fee you pay in SOL.

When Gem Wallet builds a Solana swap route directly against a trading pool, the quote already takes the token's transfer fee into account, so You Receive shows the amount after the fee.

tip

If a recipient says they got less than you sent, check whether the token has a transfer fee. You can see the token's extensions by searching its mint address on a Solana explorer such as Solscan.

Restricted Tokens and Swaps​

Some extensions let a token's creator limit how the token moves:

ExtensionWhat it does
Non-transferableThe token can't be moved to another address at all.
Transfer hookEvery transfer has to pass a check by a program the creator chose.
Default frozenNew token accounts start frozen until the creator unfreezes them.
PausableThe creator can pause all transfers.

On the swap routes Gem Wallet builds directly against Solana trading pools, tokens with these active restrictions aren't offered, because the swap could fail. Other providers may still have a route. If no provider does, see What to Do When No Swap Quote Is Available.

A token can also be frozen or paused after you receive it. Then sends and swaps fail until the creator lifts the restriction. Gem Wallet can't unfreeze or unpause a token.

caution

Restrictions like these are also used by scam tokens that you can receive but never sell. Be careful with tokens you didn't ask for, and don't buy a token before checking that it can be sold.