liquidity of token pair on ethereum
Returns balance updates on Ethereum, where balance update address is 0x7858…D4Bf and currency smart contract is 0xdAC1…1ec7 or 0xa0b8…eb48, sorted by balance, highest first: currency name and sum of balance update amount.
What it returns
- currency name
- sum of balance update amount
Filters
- balance update address is 0x7858…D4Bf
- currency smart contract is 0xdAC1…1ec7 or 0xa0b8…eb48
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {is: "0x7858E59e0C01EA06Df3aF3D20aC7B0003275D4Bf"}}, Currency: {SmartContract: {in: ["0xdAC17F958D2ee523a2206206994597C13D831ec7", "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"]}}}
orderBy: {descendingByField: "balance"}
) {
Currency {
Name
}
balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
}
}
}
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