liquidity of pool

Returns balance updates, where balance update address is 0x11b8…97f6 and currency smart contract is 0xdac1…1ec7 or 0xc02a…6cc2: sum of balance update amount.

By gaurav · saved 25 May 2023 · run 15 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0x11b815efb8f581194ae79006d24e0d814b7697f6"}}, Currency: {SmartContract: {in: ["0xdac17f958d2ee523a2206206994597c13d831ec7", "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"]}}}
    ) {
      sum(of: BalanceUpdate_Amount, selectWhere: {ge: "0"})
    }
  }
}

Similar queries