pool-data

Returns balance updates on Ethereum, where balance update address is 0x2c56…aaca: currency name, currency symbol, smart contract, sum of balance update amount and sum of balance update amount in USD.

By Kshitij Mahajan · saved 11 October 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network!, $poolAddress: String!) {
  EVM(network: $network, dataset: combined) {
    BalanceUpdates(where: {BalanceUpdate: {Address: {is: $poolAddress}}}) {
      Currency {
        Name
        Symbol
        SmartContract
      }
      sumNative: sum(of: BalanceUpdate_Amount, selectWhere: {ne: "0"})
      sumUSD: sum(of: BalanceUpdate_AmountInUSD)
    }
  }
}

Variables

{
  "network": "eth",
  "poolAddress": "0x2c56ef37f02986acd4fceaa94ee0cb45405faaca"
}

Similar queries