balance check for address

Returns balance updates on Ethereum, where balance update address is 0xB0A2…3d64 and currency smart contract is 0x6874…2f38, sorted by balance, highest first: currency name, sum of balance update amount and balance update address.

By Divyasshree · saved 13 June 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0xB0A27099582833c0Cb8C7A0565759fF145113d64"}}, Currency: {SmartContract: {is: "0x68749665ff8d2d112fa859aa293f07a622782f38"}}}
      orderBy: {descendingByField: "balance"}
    ) {
      Currency {
        Name
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      BalanceUpdate {
        Address
      }
    }
  }
}

Similar queries