Token pairs
amount gt: 0.0001
Returns 10 DEX trades by token on Ethereum, where currency smart contract is 0xc02a…6cc2, block date since 2021-08-06 and block date till 2023-08-06, 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 0xc02a…6cc2
- block date since 2021-08-06
- block date till 2023-08-06
The query
query ($network: evm_network, $limit: Int!, $from: String, $address: String, $till: String) {
EVM(dataset: combined, network: $network) {
DEXTradeByTokens(
limit: {count: $limit}
where: {Block: {Date: {since: $from, till: $till}}, Trade: {Currency: {SmartContract: {is: $address}}}}
orderBy: {descendingByField: "count"}
) {
ChainId
count
Trade {
Currency {
Symbol
SmartContract
Name
}
Side {
Currency {
Name
SmartContract
Symbol
}
}
}
}
}
}
Variables
{
"network": "eth",
"limit": 10,
"from": "2021-08-06",
"till": "2023-08-06",
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
}
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