Balance of address based on block reward - alternative way

Returns balance updates on Ethereum, where balance update address is 0x1f90…c326, balance update type is block_reward and block date till 2024-01-01: currency name and sum of balance update amount.

By gaurav · saved 17 May 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      where: {Block: {Date: {till: "2024-01-01"}}, BalanceUpdate: {Type: {is: block_reward}, Address: {is: "0x1f9090aaE28b8a3dCeaDf281B0F12828e676c326"}}}
    ) {
      Currency {
        Name
      }
      Block_reward_balance: sum(of: BalanceUpdate_Amount)
    }
  }
}

Similar queries