Skip to content

GraphQL queries ​

Every top-level field on the Query type of the asset-indexer GraphQL endpoint. The endpoint is read-only — no mutations or subscriptions are exposed.

Fields ​

node ​

Returns: Node

Arguments:

ArgTypeDefaultDescription
idID!—The ID of the type to get

account ​

Returns: Account

Arguments:

ArgTypeDefaultDescription
addressAddress!—The address of the account

nft ​

Returns: NFT

Arguments:

ArgTypeDefaultDescription
chainLocationBlockchainLocationInput—
tokenIdString—NFT Token ID

nfts ​

Returns: NFTConnection

Arguments:

ArgTypeDefaultDescription
addresses[Address]!—
chainLocations[BlockchainLocationInput]—List of Collections to query assets for
firstInt—
afterString—

nftsByTokenIds ​

Returns: [NFT]

Arguments:

ArgTypeDefaultDescription
nfts[NFTInput]—

genericToken ​

Returns: GenericToken

Arguments:

ArgTypeDefaultDescription
chainLocationBlockchainLocationInput—

genericTokenBalance ​

Returns: GenericTokenBalance

Arguments:

ArgTypeDefaultDescription
chainLocationBlockchainLocationInput—
addressAddress—

genericTokenBalances ​

Returns: GenericTokenBalanceConnection

Arguments:

ArgTypeDefaultDescription
chainLocations[BlockchainLocationInput]!—
addresses[Address]!—

Curated independently by Codeology. Source-attributed reference for The Root Network. Not affiliated with Futureverse / TRN Labs.