Fetching Trees
Last updated
Last updated
Get a Tree by its ID.
Arguments:
chainId
- ID of the chain to fetch from.
treeId
- ID of the Tree to fetch (Tree's top-hat domain - first 4 bytes of the top-hat ID).
props
- Tree's properties to fetch, including the ones of nested objects. Check the type for the available properties and query filters.
Response:
Example:
Get Trees by their IDs.
Arguments:
chainId
- ID of the chain to fetch from.
treeIds
- IDs of the Trees to fetch (Tree's top-hat domain - first 4 bytes of the top-hat ID).
Response:
Example:
Paginate over Trees.
Arguments:
chainId
- ID of the chain to fetch from.
page - Number of page to fetch.
perPage - Number of Trees to fetch in each page.
Response:
Example:
A , containing the chosen properties.
props
- Tree's properties to fetch, including the ones of nested objects. Check the type for the available properties and query filters.
An array of , containing the chosen properties.
props
- Tree's properties to fetch, including the ones of nested objects. Check the type for the available properties and query filters.
An array of , containing the chosen properties.