LastBalanceUpdate

Returns 10 balance updates on BNB Chain, where balance update address is 0x17B4…aaa6, sorted by balance, highest first: currency name, smart contract, sum of balance update amount and balance update address.

By strikex admin acct · saved 9 July 2024 · Bitquery API v2

What it returns

Filters

The query


  query LastBalanceUpdate($network: evm_network!, $address: String!, $limit: Int!, $offset: Int!) {
    EVM(dataset: combined, network: $network) {
      BalanceUpdates(
        where: { BalanceUpdate: { Address: { is: $address } } }
        orderBy: { descendingByField: "balance" }
        limit: { count: $limit, offset: $offset }
      ) {
        Currency {
          Name
          SmartContract
        }
        balance: sum(of: BalanceUpdate_Amount, selectWhere: { gt: "0" })
        BalanceUpdate {
          Address
        }
      }
    }
  }

Variables

{"network": "bsc", "address": "0x17B4720Bc3390dcc820862b238D6100E176Daaa6", "limit": 10, "offset": 0}

Similar queries