C-chain explorer

Returns blocks on Ethereum, sorted by height, highest first: timestamp time, height, transaction count, miner address, annotation, reward and reward currency symbol.

By Aparna Sridhar · saved 19 December 2023 · Bitquery API v1

What it returns

The query

query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    blocks(
      options: {desc: "height", limit: $limit, offset: $offset}
      time: {since: $from, till: $till}
    ) {
      timestamp {
        time(format: "%Y-%m-%d %H:%M:%S")
      }
      height
      transactionCount
      address: miner {
        address
        annotation
      }
      reward
      reward_usd: reward(in: USD)
      rewardCurrency {
        symbol
      }
    }
  }
}

Similar queries