liquidity of a aave/wbnb pool using balance api

Returns balance updates on BNB Chain, where balance update address is 0x3373…baa8, sorted by balance, highest first: currency name, sum of balance update amount and balance update address.

By gaurav · saved 31 July 2023 · run 7 times · Bitquery API v2

What it returns

Filters

The query

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

Similar queries