Skip to main content
NFT metadata is split into two parts: the collection stores collection-wide data, and the item stores item-specific data, which may not include the full metadata. Diagram showing how NFT metadata is divided between collection and item contractsDiagram showing how NFT metadata is divided between collection and item contracts

High level

There is a TON Center API method that retrieves NFT metadata.

Low level

To get full NFT metadata manually:
  1. Resolve the NFT item address by index from the collection, if needed, using get_nft_address_by_index(index).
  2. Get the individual content from the item contract using get_nft_data().
  3. Get the full metadata from the collection contract using get_nft_content(index, individual_content).