Hi there!
I’m hoping to get accurate data on new tokens like $Ai ( 0x3ce38bc4df7112e3944d724572e42b0cb805ad2a ) using bitQuery APIs, I would need to get 24H volume, total market cap and the max price of the currency, It’s a couple of days that I’m trying to come out with a query but I’m not used to GraphQL and the data I’m retrieving seems incorrect.
For instance, trying to get the market cap of the coin mentioned above:
That’s pretty much what I need, but I don’t really understand how to get the all time high price, I guess that it is something from this part of query:
history {
value
transferAmount
timestamp
block
}
But I get multiple values and they don’t make much sense to me. Can you help?
Thank you very much, just another thing. The values provided are pairs with the quoteCurrency. Is that right?
How can I get the price in $ by knowing the value of one of the pair currencies ( in this case WETH )?