in operator

Returns blocks on Ethereum, where block number is 20100579, 20100679 or 1 more: sum of block tx count and median of block gas used.

By Vishal · saved 16 June 2024 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    Blocks(where: {Block: {Number: {in: ["20100579", "20100679", "20100779"]}}}) {
      sum(of: Block_TxCount)
      median(of: Block_GasUsed)
    }
  }
}

Similar queries