Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Querying the Total List of Items in a Collection

In the following API link, the server gets the list of items of a collection.
https://tonapi.io/v2/nfts/collections/0%3A80d78a35f955a14b679faa887ff4cd5bfc0f43b4a4eea2a7e6927f3701b273c2/items?limit=5&offset=0

How does it do this? That is, which transactions should be checked to get the total list?


This question was imported from Telegram Chat: https://t.me/tondev_eng/28062

Votes Newest

Answers


To retrieve a list of NFT addresses within a collection, you can follow a two-step process.

Firstly, you need to download the state of the collection contract and then invoke a specific get-method that returns the address of each item based on its index. This allows you to gather all the relevant NFT addresses associated with the collection.

Once you have obtained the list of NFT addresses, the next step is to retrieve the respective owners of these NFTs. This can be accomplished by invoking the appropriate get-method on each individual contract identified in the previous step. By doing so, you can gather information about the NFT owners, providing insights into the ownership distribution within the collection.

By following this process, you can effectively gather comprehensive data about the NFT addresses and their respective owners, enabling you to analyze and understand the dynamics of the collection in more depth.

1
1
Posted one year ago
Howard Peng
10 × 1 Administrator
3K Views
1 Answer
one year ago
one year ago
Tags