Copy of balanceUpdates aggregates error

Returns balance updates on BNB Chain, where balance update address is 0x7d94…2497 and currency smart contract is 0xC71B…2e81: sum of balance update amount and count.

By Divyasshree · saved 30 May 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: bsc, aggregates: yes, dataset: combined) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0x7d94b911a51670f78a44a7af3c2bf773c42f2497"}}, Currency: {SmartContract: {is: "0xC71B5F631354BE6853eFe9C3Ab6b9590F8302e81"}}}
    ) {
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      count
    }
  }
}

Similar queries