[ETH][V2] Get Latest Blocks From Ethereum

Returns the latest 10 blocks on Ethereum, where block date after 2023-09-05: block date, block hash, block number, parent hash, block time and tx count.

By Nikhil · saved 6 September 2023 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    Blocks(
      limit: {count: 10}
      orderBy: {descending: Block_Time}
      where: {Block: {Date: {after: "2023-09-05"}}}
    ) {
      Block {
        Date
        Hash
        Number
        ParentHash
        Time
        TxCount
      }
    }
  }
}

Similar queries