Balance of all liquidity pools for a given token on Ethereum
balance of all liquidity pools for a given token
Returns DEX trades by token, where currency smart contract is 0x0f7d…ccc8: count, currency name, smart contract, currency symbol, sum of balance update amount, protocol family and protocol name.
What it returns
- count
- currency name
- smart contract
- currency symbol
- sum of balance update amount
- protocol family
- protocol name
Filters
- currency smart contract is 0x0f7d…ccc8
The query
{
EVM(dataset: combined) {
DEXTradeByTokens(
where: {Trade: {Currency: {SmartContract: {is: "0x0f7dc5d02cc1e1f5ee47854d534d332a1081ccc8"}}}}
) {
count
joinBalanceUpdates(
join: left
BalanceUpdate_Address: Trade_Dex_SmartContract
orderBy: {descendingByField: "balance"}
) {
Currency {
Name
SmartContract
Symbol
}
balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
}
Trade {
Dex {
SmartContract
ProtocolFamily
ProtocolName
}
}
}
}
}
Similar queries
- CRV hourly OHLC on Curve - Ethereum · Ethereum · DEXTradeByTokens
- Top Metric liquidity pools by 24h volume on Ethereum · Ethereum · DEXTradeByTokens
- ATH of eth token · Ethereum · DEXTradeByTokens
- historical price and historical volume · Ethereum · DEXTradeByTokens
- topTraders EVM · Ethereum · DEXTradeByTokens