serluzorgmx

Returns blocks and transfers on Ethereum and medalla, where height is 19781263, validator index is 10 and validator index is above 10: timestamp time, iso8601, day of month, difficulty, hash, miner address, annotation and 20 more fields.

By David Prieto Gonzalez · saved 2 May 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")
        iso8601
        dayOfMonth
      }
      difficulty
      hash
      miner {
        address
        annotation
      }
      totalDifficulty
      transactionCount
      uncleCount
      size
      reward
      reward_usd: reward(in: USD)
      parentHash
      rewardCurrency {
        symbol
      }
    }
    transfers(success: false, txHash: {is: "", in: ""}) {
      countBigInt(success: false)
      currency {
        decimals
        name
        tokenId
        symbol
        properties
      }
      gasValue(in: USD, success: false)
      transaction {
        hash
      }
      success(success: false)
    }
  }
  ethereum2(network: medalla) {
    deposits(validatorIndex: {between: "", is: 10, in: 10, gt: 10, gteq: 10}) {
      amount(in: USD)
      any(of: block_root_hash)
      blockRoot
      date {
        date(format: "02/05/2024")
      }
      countBigInt
    }
  }
}

Variables

{
  "limit": 100,
  "offset": 10,
  "network": "ethereum",
  "height": 19781263
}

Similar queries