pool-data
Returns balance updates on Ethereum, where balance update address is 0x7d67…5693: currency name, currency symbol, smart contract, sum of balance update amount and sum of balance update amount in USD.
What it returns
- currency name
- currency symbol
- smart contract
- sum of balance update amount
- sum of balance update amount in USD
Filters
- balance update address is 0x7d67…5693
The query
query ($network: evm_network!, $poolAddress: String!) {
EVM(network: $network) {
BalanceUpdates(
where: { BalanceUpdate: { Address: { is: $poolAddress } } }
) {
Currency {
Name
Symbol
SmartContract
}
sumNative: sum(of: BalanceUpdate_Amount, selectWhere: { gt: "0" }) # Liquidity in native currency (ETH)
sumUSD: sum(of: BalanceUpdate_AmountInUSD) # Liquidity in USD
}
}
}
Variables
{
"network": "eth",
"poolAddress": "0x7d67cb39581d2e9ad492d6a95672848e95aa5693"
}
Similar queries
- eth balance · Ethereum · BalanceUpdates
- Ethereum balance view · Ethereum · BalanceUpdates
- Balance update API explanation · Ethereum · BalanceUpdates
- MyQuery EVM · BNB Chain · BalanceUpdates
- usdt_holder_balance_update_ · Ethereum · BalanceUpdates