Hi BitQuery community.
After the token swap I checked the balances in the blockchain explorer, but the data sent by Bitquery GraphQL API v1 is still not updated. They take a very long time to update, approximately 3-5 minutes.
But if I use GraphQL API v2 with the dataset: realtime
parameter, the data immediately comes back correct.
It seems to me that by default GraphQL API v1 sends archived data.
How can I force it to ignore the cache and take only actual data from the blockchain or something like dataset
parameter in v2
P.S. I can’t use v2, because there are not enough supported networks
For v1 i use the query:
ethereum(network: $network) {
address(address: {is: $address}) {
address
balances {
currency {
address
symbol
name
decimals
}
value
}
balance(in: USDT)
}
}