High level
There is a TON Center API method that retrieves NFT metadata.Low level
To get full NFT metadata manually:- If it is not known, resolve the NFT item address by its index from the collection using
get_nft_address_by_index(index). - Get the individual content from the item contract using
get_nft_data(). - Get the full metadata from the collection contract using
get_nft_content(index, individual_content).