Top pairs by trade volume
Returns 10 DEX trades by token on Ethereum, where side currency smart contract is 0xC02a…6Cc2 and block time since 2024-09-19, sorted by trade volume, highest first: sum of trade side amount in USD, smart contract, protocol name, protocol family, currency symbol, price in USD, side currency symbol and side smart contract.
What it returns
- sum of trade side amount in USD
- smart contract
- protocol name
- protocol family
- currency symbol
- price in USD
- side currency symbol
- side smart contract
Filters
- side currency smart contract is 0xC02a…6Cc2
- block time since 2024-09-19
The query
query TopPairsByVolume {
EVM(dataset: realtime, network: eth) {
DEXTradeByTokens(
orderBy: {descendingByField: "trade_volume"}
where: {Block: {Time: {since: "2024-09-19T08:41:00Z"}}, TransactionStatus: {Success: true}, Trade: {Side: {Currency: {SmartContract: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}}}
limit: {count: 10}
) {
trade_volume: sum(of: Trade_Side_AmountInUSD)
Trade {
Dex {
SmartContract
ProtocolName
ProtocolFamily
Pair {
SmartContract
}
}
Currency {
Symbol
SmartContract
}
PriceInUSD(maximum: Block_Time)
Side {
Currency {
Symbol
SmartContract
}
}
}
}
}
}
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