ethereum last 30 days traders of a token
Returns 100 DEX trades by token on Ethereum, where currency smart contract is 0x8B14…CaEa, sorted by volume USD, highest first: buyer, sum of trade amount and sum of trade side amount in USD.
What it returns
- buyer
- sum of trade amount
- sum of trade side amount in USD
Filters
- currency smart contract is 0x8B14…CaEa
The query
query topTraders($network: evm_network, $token: String) {
EVM(network: $network dataset:combined) {
DEXTradeByTokens(
orderBy: { descendingByField: "volumeUsd" }
limit: { count: 100 }
where: {Block:{Time:{since_relative:{days_ago:1}}} Trade: { Currency: { SmartContract: { is: $token } } } TransactionStatus:{Success:true}}
) {
Trade {
Buyer
}
bought: sum(of: Trade_Amount, if: { Trade: { Side: { Type: { is: buy } } } })
sold: sum(of: Trade_Amount, if: { Trade: { Side: { Type: { is: sell } } } })
volume: sum(of: Trade_Amount)
volumeUsd: sum(of: Trade_Side_AmountInUSD)
}
}
}
Variables
{
"network": "eth",
"token": "0x8B1484d57abBE239bB280661377363b03c89CaEa"
}
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