test for me

Returns the latest 10 blocks on Ethereum: coinbase, block time, tx count, block number, block hash, gas used, tx hash and 2 more fields.

By Nadia · saved 13 March 2026 · Bitquery API v2

What it returns

The query

query ($network: evm_network, $limit: Int) {
  EVM(network: $network, dataset: realtime) {
    Blocks(limit: {count: $limit}, orderBy: {descending: Block_Time}) {
      Block {
        Coinbase
        Time
        TxCount
        Number
        Hash
        
        GasUsed
        TxHash
        BaseFee
      }
      ChainId
    }
  }
}

Variables

{"limit":10,"offset":0,"network":"eth","from":"2023-12-21","till":"2023-12-28","mempool":false}

Similar queries