Miners2

no limit

Returns 100 miner rewards on Ethereum, where block date since 2023-07-20 and block date till 2023-07-24, sorted by count, highest first: block date, coinbase, chain ID, sum of reward total, sum of reward burnt fees, sum of reward tx fees, sum of reward uncle and count.

By Aleksey · saved 25 July 2023 · 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: {descendingByField: "count"}
      where: {Block: {Date: {since: $from, till: $till}}}
      limit: {count: $limit}
    ) {
      Block {
      
        max_date: Date(maximum: Block_Date)
        min_date: Date(minimum: Block_Date)
        Coinbase
      }
      ChainId
      reward_Total: sum(of: Reward_Total)
      reward_BurntFees: sum(of: Reward_BurntFees)
      reward_TxFees: sum(of: Reward_TxFees)
      reward_Uncle: sum(of: Reward_Uncle)
      count
    }
  }
}

Variables

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

Similar queries