I use this query to get historical balance of an address -
query {
ethereum {
address
(
address:
{
in: ["0x8a8aaaefbeee3fc7ca30a0f9a2c5c5ea0e83ebb0"]
}
) {
balances
{
history
{
timestamp value
}
currency
{
symbol
name
}
value
}
}
}
}
It used to work fine till a few days ago, now I get this error -
[ { "message": "Balances must have a filter by one currency to get history", "locations": [ { "line": 12, "column": 11 } ], "path": [ "ethereum", "address", 0, "balances", 0, "history" ], "error_type": "client" }, { "message": "Balances must have a filter by one currency to get history", "locations": [ { "line": 12, "column": 11 } ], "path": [ "ethereum", "address", 0, "balances", 1, "history" ], "error_type": "client" }, { "message": "Balances must have a filter by one currency to get history", "locations": [ { "line": 12, "column": 11 } ], "path": [ "ethereum", "address", 0, "balances", 2, "history" ], "error_type": "client" }, etc
It seems inconsistent as well, it returns both incomplete json (with null history values) and the error. Is this expected, does the balances now require a currency filter? Any reason for this update?