eth_subscribe("newBlockHeaders")

Streams blocks as they happen: block number, parent hash, block hash, tx count and block time.

By Nikita Mahoviya · saved 1 June 2024 · Bitquery API v2

What it returns

The subscription

subscription {
  EVM {
    Blocks {
      Block {
        Number
        ParentHash
        Hash
        TxCount
        Time
      }
    }
  }
}

Similar queries