[Uniswap] [Streaming] Get Depth of Liquidity Pool Weth
Returns balance updates on Ethereum, where balance update address is 0xb60b…0BA2 and currency smart contract is 0xc02a…6cc2: currency name, sum of balance update amount and balance update address.
What it returns
- currency name
- sum of balance update amount
- balance update address
Filters
- balance update address is 0xb60b…0BA2
- currency smart contract is 0xc02a…6cc2
The query
{
EVM(dataset: combined, network: eth) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {is: "0xb60b39F2aEdb4C7848cfBdcA380355381DD30BA2"}}, Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}}
) {
Currency {
Name(selectWhere: {is: "Wrapped Ether"})
}
balance: sum(of: BalanceUpdate_Amount)
BalanceUpdate {
Pool: Address
}
}
}
}
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