block error

Returns blocks on BNB Chain, where block hash is 0xdb6e…b59f and block number is 42974770: block time, block hash and block number.

By Divyasshree · saved 8 July 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery($startblockheight: String!) {
  EVM(network: bsc, dataset: archive) {
    startblock: Blocks(where: {Block: {Number: {eq: $startblockheight}}}) {
      Block {
        timefield: Time
        Hash
        Number
      }
    }
    endblock: Blocks(
      where: {Block: {Hash: {is: "0xdb6ef11db0f806ac6cab3f9181ad78839049b1d6362643593f4654fd819cb59f"}}}
    ) {
      Block {
        timefield2: Time
        Hash
        Number
      }
    }
  }
}

Variables

{
  "network": "bsc",
  "startblockheight": "42974770",
  "endblockheight": "44781714"
}

Similar queries