Block reward balance

Returns balance updates on Ethereum, where balance update address is 0x1f90…c326: currency name and sum of balance update amount.

By gaurav · saved 17 May 2024 · Bitquery API v2

What it returns

Filters

The query

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

Similar queries