Fetching Collectible Data
Once a collectible has been created in ORB, there are multiple ways and Queries to use in order to fetch information about it.
Fetch all collectibles under a specific collection
If you are looking to retrieve all the collectibles that have been created in a specific collection, together with information about them, you can use the following Query.
Below is an explanation of the response fields.
tokenId
The id of the collectible
imageUrl
The IPFS/Url that the image of the collectible is stored at.
metadata
The IPFS/JSON file which contains all the metadata of the collectible.
maxEditions
The maximum number of editions that were set when the collectible was created.
name
The name of the collectible.
offers
A list containing all the offers that have been made to this collectible.
owners
A list containing all the wallet addresses which own an edition of this collectible.
totalBurned
The total amount of editions of a collectible that have been burned.
totalMinted
The total amount of editions of a collectible that have been minted.
totalSupply
The total amount of editions of a collectible that have been set upon the creation of the collectible.
Fetch information about a specific collectible
Use the following Query to retrieve information about a specified collectible.
Below is an explanation of the response fields.
balancesCount
Number of editions of a collectible the wallet address currently has.
holdersCount
Number of wallet addresses who own editions of the collectible.
maxEditions
Total number of editions set upon the creation of the collectible.
metadata
The IPFS/JSON file containing the metadata of the collectible.
standard
The standard of the collectible (fa1.2 or fa2).
tokenId
The tokenId of the collectible.
totalBurned
The number of editions of the collectible that have been burned.
totalMinted
The number of editions of the collectible that have been minted.
totalSupply
Total number of existing editions of the collectible.
Last updated