Skip to main content

Documentation Index

Fetch the complete documentation index at: https://companyname-a7d5b98e-3-gasless.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Metadata is split into two parts: the collection stores collection‑wide data, and the item stores item‑specific data (not necessarily the full 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.