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 25 April 2025 · run 50 times · 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": "2025-04-17",
  "till": "2025-04-24",
  "dateFormat": "%Y-%m-%d",
  "date_middle": "2025-04-20"
}

Similar queries