Axie GraphQL Docs

NewEthExchangeRate

NewEthExchangeRate

Fetches the current USD value of Ether.

Endpoint (Updated)

https://graphql-gateway.axieinfinity.com/graphql

Body

You can modify the query string to include fields that you want to be included or not. Refer to the GraphQL Schema below for a full overview.

{
"operationName": "NewEthExchangeRate",
"query": "query NewEthExchangeRate {\n exchangeRate {\n eth {\n usd\n __typename\n }\n __typename\n }\n}\n"
}
Full GraphQL Query Schema

 

query NewEthExchangeRate {
exchangeRate {
eth {
usd
__typename
}
__typename
}
}

Edit this page on GitHub