Pairs of token V2 API
Returns DEX trades by token, where currency smart contract is 0x6982…1933 and block date after 2023-01-01, sorted by count, highest first: count, currency name, currency symbol, smart contract, side currency name, side smart contract, side currency symbol and 2 more fields.
What it returns
- count
- currency name
- currency symbol
- smart contract
- side currency name
- side smart contract
- side currency symbol
- pair name
- owner address
Filters
- currency smart contract is 0x6982…1933
- block date after 2023-01-01
The query
{
EVM(dataset: combined) {
DEXTradeByTokens(
limitBy: {by: Trade_Dex_Pair_SmartContract, count: 1}
orderBy: {descendingByField: "count"}
where: {Block: {Date: {after: "2023-01-01"}}, Trade: {Currency: {SmartContract: {is: "0x6982508145454Ce325dDbE47a25d4ec3d2311933"}}}}
) {
count: count(distinct: Transaction_Hash)
Trade {
Currency {
Name
Symbol
SmartContract
}
Side {
Currency {
Name
SmartContract
Symbol
}
}
Dex {
Pair {
SmartContract
Name
}
OwnerAddress
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