Top trader of a given token in a pair
Returns 10 DEX trades by token, where currency smart contract is 0xb624…6934 and DEX smart contract is 0x6222…7ac5, sorted by count, highest first: sum of trade amount in USD, sum of trade side amount in USD, count, buyer, smart contract, currency symbol and currency name.
What it returns
- sum of trade amount in USD
- sum of trade side amount in USD
- count
- buyer
- smart contract
- currency symbol
- currency name
Filters
- currency smart contract is 0xb624…6934
- DEX smart contract is 0x6222…7ac5
The query
{
EVM(dataset: combined) {
DEXTradeByTokens(
orderBy: {descendingByField: "count"}
limitBy: {count: 1, by: Trade_Buyer}
limit: {count: 10}
where: {Trade: {Currency: {SmartContract: {is: "0xb624960aaad05d433075a5c9e760adec26036934"}}, Dex: {SmartContract: {is: "0x62220cca3fa08e9b35bb2c775d20cf63a8de7ac5"}}}}
) {
buy: sum(of: Trade_AmountInUSD)
sell: sum(of: Trade_Side_AmountInUSD)
count
Trade {
Buyer
Currency {
SmartContract
Symbol
Name
}
}
}
}
}
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