Ownership
NFT ownership is tracked through individual NFT item contracts. Unlike jettons, which have a balance, one either owns a specific NFT item or does not. Similar to other asset queries, discrete one-off checks have limited value on their own and continuous monitoring should be used for UI display.On-demand ownership check
Single NFT
Obtain the information of a specific NFT by its address and check the ownership:All NFTs
Retrieve NFTs held by the connected TON wallet or an arbitrary address. If there are many held NFTs, provide thelimit option to retrieve fewer items and the offset option to paginate the item lists.
Continuous ownership monitoring
Poll the NFT ownership at regular intervals to keep the displayed value up to date. Use an appropriate interval based on UX requirements — shorter intervals provide fresher data but increase API usage. Modify the following example according to the application logic:Transfers
Before making a transfer, make sure there is enough Toncoin in the balance to cover the fees. Modify the following examples according to the application logic:NFT type
NFT-related queries produce objects that conform to the following interface:
TypeScript