Divyamaan_assignment

Returns blocks on Ethereum, where height is 20331573: timestamp time, difficulty, hash, miner address, annotation, total difficulty, transaction count and 5 more fields.

By Divyamaan Singh · saved 15 August 2024 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $height: Int!) {
  ethereum(network: $network) {
    blocks(height: {is: $height}) {
      timestamp {
        time(format: "%Y-%m-%d %H:%M:%S")
      }
      difficulty
      hash
      miner {
        address
        annotation
      }
      totalDifficulty
      transactionCount
      uncleCount
      size
      reward
      reward_usd: reward(in: USD)
      parentHash
      rewardCurrency {
        symbol
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "height": 20331573
}

Similar queries