Latest Blocks

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 24 April 2025 · Bitquery API v2

What it returns

The query

query ($network: evm_network, $limit: Int, $offset: Int!) {
  EVM(network: $network, dataset: realtime) {
    Blocks(
      limit: {count: $limit, offset: $offset}
      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"
}

Similar queries