I made this query using timeInterval. But not sure this is right query.
{
ethereum(network: bsc) {
dexTrades(
time: {since: “2021-06-09T19:37:00”}
baseCurrency: {is: “0xb27adaffb9fea1801459a1a81b17218288c097cc”}
) {
timeInterval {
day( count: 1)
}
trades: tradeAmount(in: USD)
}
}
}
gaurav
2
This is not possible for now, but I am double checking with the dev team, however we will add this as a feature request.
gaurav
3
You can do it by getting volume since 24 hours before and then getting column till current time and subtract to get the 24 volume change.