Token Creation & Minting
Token-2022 Metadata Extensions: MetadataPointer and TokenMetadata Explained
How Token-2022 puts a token's name, symbol and logo directly on the mint account instead of a separate Metaplex account — and why that matters for compatibility and cost.
Every SPL token needs somewhere to store its name, symbol and logo — the mint account itself only holds numeric state (supply, decimals, authorities). Where that metadata actually lives is one of the more confusing differences between the original SPL Token program and Token-2022, and it's worth understanding before you pick one.
The old way: a separate Metaplex account
Standard SPL tokens don't have a native metadata mechanism at all. The de facto standard, used by essentially every wallet and explorer, is a Metaplex Token Metadata account — a separate on-chain account, at a deterministically derived address, that a mint's update authority creates and owns. Wallets look up this account by deriving its address from the mint, read its name/symbol/URI fields, and fetch the JSON (and image) the URI points to, usually hosted on Arweave.
This works well and is universally supported, but it's an additional account — additional rent, an additional instruction to create it, and an extra hop for anything reading the token's identity.
The Token-2022 way: metadata on the mint itself
Token-2022 introduces two related extensions that fold metadata directly into the mint account:
MetadataPointer— a small field on the mint that points to where its metadata actually lives. Usually, it points to the mint itself.TokenMetadata— the actual name, symbol, and URI fields, stored as extension data appended to the mint account's own byte layout.
The practical effect: one account instead of two. Creating a Token-2022 mint with on-chain metadata means a single account holds the mint's numeric state and its identity — no separate Metaplex PDA to derive, create, and pay rent for.
Why this isn't purely an upgrade
The tradeoff is compatibility, not capability. Metaplex metadata has years of universal support — every wallet, every explorer, every marketplace knows how to read it. Token-2022's on-mint metadata is newer, and while major wallets (Phantom, Solflare) and Solana Explorer support it well, some older tooling, a few smaller exchanges, and third-party indexers built before the extension existed may not look in the right place yet.
If your priority is showing up correctly everywhere with zero surprises, the standard SPL Token program with Metaplex metadata is still the safer default. If you're specifically choosing Token-2022 for one of its other extensions — a transfer fee, an interest-bearing balance — the on-mint metadata comes along for free as part of that choice, and support keeps improving.
What this means when you create a mint
You don't choose MetadataPointer and TokenMetadata independently — any Token-2022 mint created with on-chain metadata gets both automatically, in the same transaction that creates the mint itself. There's no separate "attach metadata later" step the way there sometimes is with the old Metaplex flow; name, symbol and image URI go in at creation time, alongside whichever other extensions (transfer fee, interest-bearing) you've chosen.
Updating it afterward requires the mint's metadata-update authority — the same authority model as Metaplex metadata, just pointed at a different account layout.
Choosing between the two
If you're not sure which program to use at all, the deciding factor usually isn't metadata — it's whether you need one of Token-2022's other extensions. See the full comparison in SPL Token vs Token-2022: which should you use in 2026. If you've already decided on Token-2022, the Token-2022 Creator builds the mint, its extensions, and its on-mint metadata in one signed transaction — full field-by-field steps are in the Token-2022 Creator docs.