Skip to main content

All Tokens

Queries all tokens associated with a factory contract on a specified blockchain.

query Factory($chainUid: String!) {
factory(chain_uid: $chainUid) {
all_tokens {
tokens
}
}
}

Example

curl --request POST \
--header 'content-type: application/json' \
--url 'https://testnet.api.euclidprotocol.com/graphql' \
--data '{"query":"query Factory($chainUid: String!) {\n factory(chain_uid: $chainUid) {\n all_tokens {\n tokens\n }\n }\n}","variables":{"chainUid":"nibiru"}}'

Open in Playground

Arguments

  • chainUid (String!): The unique identifier of the chain.

Return Fields

FieldTypeDescription
all_tokensAllTokensAll token information associated with the factory.

AllTokens

FieldTypeDescription
tokens[String]The list of tokens.