We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
example query for MKR previous day token price:
https://thegraph.com/hosted-service/subgraph/uniswap/uniswap-v3
{ token(id:"0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2") { id name tokenDayData(skip:1,first:1) { priceUSD } } }
multiple tokens can be retrieved in that way
{ tokens( where: { id_in : [ "0xc944e90c64b2c07662a292be6244bdf05cda44a7", "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984" ] } ) { id tokenDayData(skip:1,first:1){priceUSD } } }
The text was updated successfully, but these errors were encountered:
apollographql/apollo-client#84 (comment)
this technique is used
Sorry, something went wrong.
UNI TWAP support for getting prices
d2d05ab
Fixes #142
cba1b56
leviyehonatan
No branches or pull requests
example query for MKR previous day token price:
https://thegraph.com/hosted-service/subgraph/uniswap/uniswap-v3
multiple tokens can be retrieved in that way
The text was updated successfully, but these errors were encountered: