multiple pool liquidity

liquidity of multiple pools in one query

Returns balance updates on BNB Chain, where balance update address is 0xD51a…AE46, 0x6059…a270 or 1 more, sorted by balance, highest first: currency name, sum of balance update amount and balance update address.

By Divyasshree · saved 26 March 2024 · run 66 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: archive, network: bsc) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {in: ["0xD51a44d3FaE010294C616388b506AcdA1bfAAE46","0x60594a405d53811d3bc4766596efd80fd545a270","0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"]}}}
      orderBy: {descendingByField: "balance"}
    ) {
      Currency {
        Name
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      BalanceUpdate {
        Address
      }
    }
  }
}

Similar queries