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.

High level

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

Low level

To get full NFT metadata manually:
  1. If it is not known, resolve the NFT item address by its index from the collection 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).