multichain-balance-of-an-address

Returns balance updates on Ethereum, BNB Chain and Arbitrum, where balance update address is 0xF977…aceC: sum of balance update amount and currency name.

By Ashish Bhintade · saved 5 March 2024 · run 7 times · Bitquery API v2

What it returns

Filters

The query

{
  ETH_Balance: EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0xF977814e90dA44bFA03b6295A0616a897441aceC"}}, Currency: {Native: true}}
    ) {
      sum(of: BalanceUpdate_Amount)
      Currency {
        Name
      }
    }
  }
  BSC_Balance: EVM(dataset: combined, network: bsc) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0xF977814e90dA44bFA03b6295A0616a897441aceC"}}, Currency: {Native: true}}
    ) {
      sum(of: BalanceUpdate_Amount)
      Currency {
        Name
      }
    }
  }
  Arbitrum_Balance: EVM(dataset: combined, network: arbitrum) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0xF977814e90dA44bFA03b6295A0616a897441aceC"}}, Currency: {Native: true}}
    ) {
      sum(of: BalanceUpdate_Amount)
      Currency {
        Name
      }
    }
  }
}

Similar queries