Guides
View Asset Tree
This guide will go into detail about querying the asset tree.
Asset Tree
Example
Visualisation
GraphQL Query
Where,
tokenId
- The token ID of the NFT you want the asset tree forcollection.chainType
- Eitherevm
orroot
to specify where the asset lives on The Root Network we have both EVM (evm
) and native substrate (root
) storage, so this specifies where to lookcollection.location
- The location of the NFT, this is either a contract address if thechainType
isevm
or a collection ID (number) if thechainType
isroot
collection.chainId
- The Chain ID of the blockchain the asset lives on
Was this page helpful?