Skip to main content
NFTs (non-fungible tokens) are unique digital assets on TON, similar to ERC-721 tokens on Ethereum. Unlike jettons, which are fungible and interchangeable, each NFT is unique and represents ownership of a specific item. NFTs consist of a collection contract and individual NFT item contracts for each token.

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 the limit 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. If the UI only needs a subset of NFTs, pass limit and paginate with offset instead of repeatedly re-fetching the full collection. 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

See also

NFTs: General: