Query correlation blocks

Returns blocks on BNB Chain: block time, gas used, median of block gas used, correlation of block base fee and count.

By Aleksey · saved 27 April 2023 · Bitquery API v2

What it returns

The query

query {
  EVM(network: bsc dataset: combined) {
  
    
    Blocks {
      Block {
        last_block: Time(maximum: Block_Time)
        first_block: Time(minimum: Block_Time)
        
        max_gas: GasUsed(maximum: Block_GasUsed)
        
      }
      
      median(of: Block_GasUsed)
      correlation(of: Block_BaseFee with: Block_Difficulty)
      
      count
    }
  }
}

Similar queries