Fungible tokens that appear on the Home tab. Specifically, Phantom will display all FungibleAsset, NonFungible, NonFungibleEdition and ProgrammableNonFungible tokens on their own Collectibles tab.
Group collectibles
Phantom groups collectibles by their Certified Collections introduced in v1.1.0 of the Token Metadata Standard. In order to be grouped together, individual NFTs should all reference the same verified collection mint address. This mint address is itself home to an NFT with metadata that describes the collection as in the example. Creators must ensure that this collection is verified on-chain (that is, thatverified is set to true).
If no verified collection is found, Phantom will fallback to grouping NFTs by the first verified creator’s address in the on-chain creators field. If two unverified items share the same creator address at the 0 index of their creators array, they will be grouped into the same collection.
Name grouped collectibles
When a group is created, a best-effort process is used to determine that group’s name. Phantom will look to these fields in the following order of preference:nameof the verified on-chain collection NFTcollection.namecollection.familyexternal_url(parsed to remove url parts)name(of a single collectible)symbol- address of the first verified creator in the
creatorsarray (also used to group the collection)
Display an individual collectible
When displaying the detail view of an individual collectible, Phantom will prioritize on-chain data in the Metadata Account over off-chain JSON linked via theuri field. This impacts both the name and symbol field which appears in both locations.
Render collectible media
Supported media types
Phantom supports a wide-range of media types. For a full list, refer to Supported media types.Select media
When determining what media to display for a given collectible, Phantom will search the off-chain JSON for data in the following order:animation_url: Phantom will select the media source at the collectible’sanimation_urlfield.properties.files: If noanimation_urlis found, Phantom will choose the first file where thecdnproperty is set totrue. Otherwise, a file will be chosen based on the media type in the following order of preference:imageaudiovideovrormodel
image: Finally, if Phantom still cannot find media to display, it will fallback to the media source at the collectible’simagefield.
Determine media type
If a media source is found inproperties.files, and that source is defined as an object, Phantom will determine the media type based on that file’s type property. Under the Token Metadata Standard, file objects are defined with the following structure:
| Field | Type | Description |
|---|---|---|
| type | string | The media type of the file. If selected, Phantom will use this to determine the media type. For example, “image/png.” |
| uri | string | The URI source of the file. For example, https://asfh3uxyeoyvtkfqc7jagy3mhtsszhyubnc3wfss5ismdgtw.arweave.net/BIp90vgjs_VmosBfSA2NsPOUsnxQLRbsWUuo-kwZp2o?ext=png |
| cdn | boolean (optional) | An optional flag that dictates if the file is hosted on a cdn. If true, Phantom will select this file as the primary source file. |
properties.files, it may fallback to a media source that is defined as a string (such as animation_url or image). In these cases, Phantom will look for data in the following order of preference:
- The media source URI’s
?ext=query string parameter (https://example.com/foo?ext=png). - The media source URI’s pathname extension (
https://example.com/foo.png). - If the media source URI comes from the
animation_url, Phantom will infer the media type based on the collectible’sproperties.categoryfield. - If the media source URI comes from the
imagefield, Phantom will default to assume it is a PNG.