no token sumbol in dataset combined
Returns DEX trades by token on Ethereum, where DEX protocol name is uniswap_v2 and block time after 2025-06-01, sorted by volume, highest first: block date, currency symbol, smart contract, side currency symbol, side smart contract, count and sum of trade side amount in USD.
What it returns
- block date
- currency symbol
- smart contract
- side currency symbol
- side smart contract
- count
- sum of trade side amount in USD
Filters
- DEX protocol name is uniswap_v2
- block time after 2025-06-01
The query
query DexMarketPairs($network: evm_network, $min_count: String, $time_ago: DateTime, $market: String) {
EVM(dataset: combined, network: $network) {
DEXTradeByTokens(
where: {Trade: {Success: true, Dex: {ProtocolName: {is: $market}}}, Block: {Time: {after: $time_ago}}}
orderBy: {descendingByField: "volume"}
) {
Block {
Date
}
Trade {
Currency {
Symbol
SmartContract
}
Side {
Currency {
Symbol
SmartContract
}
}
}
count(selectWhere: {ge: $min_count})
volume: sum(of: Trade_Side_AmountInUSD)
}
}
}
Variables
{
"network": "eth",
"market": "uniswap_v2",
"min_count": "100",
"time_1h_ago": "2025-07-01T11:49:49Z",
"time_ago": "2025-06-01T12:49:49Z",
"eth": "0x",
"usdc": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"usdt": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"weth": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"interval": "1",
"dataset": "realtime"
}
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