Skip to main content
Metadata is split into two parts: the collection stores collection‑wide data, and the item stores item‑specific data (not necessarily the full metadata). NFT metadataNFT metadata

High level

There is a TON Center API method that retrieves metadata.

Low level

To get full NFT metadata:
  1. Resolve the NFT item address by index from the collection (if needed) using get_nft_address_by_index(index).
  2. Get the item’s 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).
See more about metadata.