sdfsdfsdf
Returns 10 DEX trades by token on Ethereum, where currency smart contract is 0x2d8e…e91d, side currency smart contract is not 0x and block date since 2025-02-24, sorted by count, highest first: chain ID, count, currency symbol, smart contract, currency name, side currency name, side smart contract and side currency symbol.
What it returns
- chain ID
- count
- currency symbol
- smart contract
- currency name
- side currency name
- side smart contract
- side currency symbol
Filters
- currency smart contract is 0x2d8e…e91d
- side currency smart contract is not 0x
- block date since 2025-02-24
- block date till 2025-03-03
The query
query ($network: evm_network, $limit: Int!, $from: String, $token: String, $till: String) {
EVM(dataset: combined, network: $network) {
DEXTradeByTokens(
limit: {count: $limit}
where: {Block: {Date: {since: $from, till: $till}}, Trade: {Currency: {SmartContract: {is: $token}}, Side: {Currency: {SmartContract: {not: "0x"}}}}}
orderBy: {descendingByField: "count"}
) {
ChainId
count
Trade {
Currency {
Symbol
SmartContract
Name
}
Side {
Currency {
Name
SmartContract
Symbol
}
}
}
}
}
}
Variables
{"network":"eth","limit":10,"from":"2025-02-24","till":"2025-03-03","token":"0x2d8ea194902bc55431420bd26be92b0782dce91d","dateFormat":"%Y-%m-%d","date_middle":"2025-02-27","mempool":false}
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