My query used to work well but now returns an error.
Query:
query QuickSwapSwapsQuery {
ethereum(network: matic) {
dexTrades(
exchangeName: {in: “QuickSwap”}
options: {asc: [“any”], limit: 25000}
smartContractAddress: {is: “0x07D53B147EF96FAD1896D1156755A9DA7E06098E”}
time: {after: “2022-04-30T20:00:00Z”}
) {
tradeAmount(in: USD)
any(of: time)
transaction {
hash
}
}
}
}
Now it produces error:
[ { “message”: “undefined method `operation’ for nil:NilClass”, “locations”: [ { “line”: 3, “column”: 17 } ], “path”: [ “ethereum”, “dexTrades” ], “error_type”: “client” } ]
What might be the problem?