This guide will go into detail about querying the asset tree.
Where,
tokenId
- The token ID of the NFT you want the asset tree for
collection.chainType
- Either evm
or root
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 look
collection.location
- The location of the NFT, this is either a contract address if the chainType
is evm
or a collection ID (number) if the chainType
is root
collection.chainId
- The Chain ID of the blockchain the asset lives on