Miners

no limit

Returns the latest 10 miner rewards on Ethereum, where block date since 2023-07-20 and block date till 2023-07-24: block date, coinbase, chain ID, sum of reward total and count.

By Nadia · saved 25 July 2023 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $from: String, $till: String) {
  EVM(dataset: combined, network: $network) {
    MinerRewards(
      orderBy: {descending: Block_Date, descendingByField: "count"}
      where: {Block: {Date: {since: $from, till: $till}}}
      limit: {count: $limit}
    ) {
      Block {
        Date
        max_date: Date(maximum: Block_Date)
        min_date: Date(minimum: Block_Date)
        Coinbase
      }
      ChainId
      sum(of: Reward_Total)
      count
    }
  }
}

Variables

{
  "network": "eth",
  "limit": 10,
  "offset": 0,
  "from": "2023-07-20",
  "till": "2023-07-24"
}

Similar queries