Token pairs
Returns 10 DEX trades by token on Ethereum, where currency smart contract is 0xf61f…d6dc and side currency smart contract is not 0x, 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 0xf61f…d6dc
- side currency smart contract is not 0x
The query
query ($network: evm_network, $limit: Int!, $token: String) {
EVM(dataset: realtime, network: $network) {
DEXTradeByTokens(
limit: {count: $limit}
where: {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,
"token": "0xf61f24c2d93bf2de187546b14425bf631f28d6dc"
}
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