changiz

Returns 10 blocks and transactions on Ethereum and eth2, where time since 2023-11-26 and time till 2023-11-26, sorted by height, highest first: timestamp time, height, transaction count, miner address, annotation, reward, reward currency symbol and 8 more fields.

By changiz · saved 26 November 2023 · run 1 time · Bitquery API v1

What it returns

Filters

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(calculate: maximum, miner: {is: ""}, transactionCount: {})
      address: miner {
        address
        annotation
      }
      reward
      reward_usd: reward(in: USD)
      rewardCurrency {
        symbol
      }
      totalDifficulty(blockReward: {between: 1.5}, miner: {in: ""})
      uncleCount(calculate: maximum)
      uncleCountBigInt
    }
    transactions(amount: {}) {
      count
    }
    transfers(external: false, success: false) {
      minimum(of: date)
      receiver {
        address
      }
      sender {
        address
      }
      success(success: false)
    }
  }
  ethereum2(network: eth2)
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "from": "2023-11-26T00:10:48.000Z",
  "till": "2023-11-26T00:40:48.999Z",
  "dateFormat": "%Y-%m-%d"
}

Similar queries