The following query does not work when time selector is “between”, while it works with “till” or “before”.
BitQuery throws the following message:
{“message”: “This selector can not be applied to time, use ONLY till or before”, “locations”: [ { “line”: 5, “column”: 7 } ], “path”: [ “ethereum”, “address”, 0, “balances” ] } ]
{
ethereum (network: bsc){
address(address: {is: $address}) {
address
balances(
currency: {is: $currency}
time: {between: ["2021-05-12T13:01Z", "2021-05-21T13:01Z"]}
) {
currency {
symbol
address
name
decimals
}
value
history {
block
value
transferAmount
timestamp
}
}
}
}
}
{“message”: “This selector can not be applied to time, use ONLY till or before”, “locations”: [ { “line”: 5, “column”: 7 } ], “path”: [ “ethereum”, “address”, 0, “balances” ] } ]