Solana Token Extensions (Token22)
Last updated
Last updated
Phantom supports fungible and non-fungible tokens created with the Token-2022 Program. At the time of this writing, Phantom supports the following Token Extensions:
The Group and Group Pointer extensions allow token creators to create configurations for grouping tokens together. Phantom currently supports both extensions for non-fungible tokens in the Collectibles tab.
If a particular mint has a memberAddress
listed under a groupMemberPointer
, Phantom will look for the mint
and group
fields stored at this memberAddress
. If the mint address matches the mint
value, Phantom will use the group
as the new group identifier.
Example: 8eDYWjDKmCR5B3UJm95gaG8zCdT5anWakTZG1PyWpBm9
(Mainnet)
The Interest-Bearing Tokens Extension allows creators to set an interest rate on their tokens. This interest rate is for cosmetic purposes only, no new tokens are created as a result of the interest. If this extension is enabled, Phantom will display the current interest rate on the token's detail screen.
Example: aNMXxywEHAH3VfWnaVwedLJWPT9NsxagsGTEQqS5WKK
(Mainnet)
The Memo on Transfer Extension enforces that all incoming transfers must have an accompanying memo instruction right before the transfer instruction. If this extension is enabled, an account owner may choose to flip the required memo on or off. Phantom will allow a user to input a memo on transfers, even if it is optional.
Example: BonkEarn CKfatsPMUf8SkiURsDXs7eK6GWb4Jsd6UDbs7twMCWxo
(Mainnet)
The Metadata Extension allows a token creator to include their metadata directly in the token's mint account. Phantom will display the name
and symbol
that is stored in the mint account, and look to the uri
field for additional information such as the token's image
.
Example: EGKdqrXxFeTpRTskrH81xmefuTAU9MJGCDLoNss28a2
(Devnet)
The Metadata Pointer Extension allows a token creator to designate an address that describes the canonical metadata. Phantom supports the Metadata Pointer Extension. At the time of this writing, Phantom will assume all metadata schemas follow the Metaplex Standard.
The Permanent Delegate Extension allows token creators to grant unlimited delegation privileges over any account for that mint. If enabled, a delegate can can burn or transfer any amount of tokens. Phantom will display a warning for any token that has this extension enabled.
Example: aNMXxywEHAH3VfWnaVwedLJWPT9NsxagsGTEQqS5WKK
(Mainnet)
The Transfer Fees Extension allows a token creator to assess fees on every token transfer. If this extension is enabled, Phantom will display the fee on the confirmation screen of every send.
Example: BonkEarn CKfatsPMUf8SkiURsDXs7eK6GWb4Jsd6UDbs7twMCWxo
(Mainnet)
The Transfer Hooks Extension allows a token to invoke a custom program at the time of transfer. This program can be used to add custom logic on transfers, such as assessing royalties or determining if the transfer is allowed based on a range of on-chain data sources.
The following extensions are currently in development: