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"}}'
Arguments
- chainUid (String!): The unique identifier of the chain.
Return Fields
Field | Type | Description |
---|---|---|
all_tokens | AllTokens | All token information associated with the factory. |
AllTokens
Field | Type | Description |
---|---|---|
tokens | [String] | The list of tokens. |