countIf does not work as expected

Returns 10 blocks on Ethereum and BNB Chain, where date is 2020-09-08: hash and count.

By ivanov17andrey · saved 2 March 2022 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!) {
  ethereum(network: $network) {
    blocks(date: {is: "2020-09-08"} options: {limit: 10}){
      hash
      countIf: count(height: {is: 290390})
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "address": "0xb0b3f2e3a6b1bffa9e46f7705bb21890fbcaabfb"
}

Similar queries