ath for a token
Returns 10 DEX trades by token on Ethereum, where currency smart contract is 0xDee6…3B2D, block time since 2024-12-25 and trade price asymmetry is at most 0.1, sorted by trade price in USD, highest first: price in USD, transaction hash and quantile of trade price in USD.
What it returns
- price in USD
- transaction hash
- quantile of trade price in USD
Filters
- currency smart contract is 0xDee6…3B2D
- block time since 2024-12-25
- trade price asymmetry is at most 0.1
The query
query AllTimeHighTokenPriceQuery($tokenAddress: String!, $startTime: DateTime!) {
EVM(dataset: combined, network: eth) {
DEXTradeByTokens(
where: {Trade: {Currency: {SmartContract: {is: $tokenAddress}}, PriceAsymmetry: {le: 0.1}}, Block: {Time: {since: $startTime}}}
orderBy: {descending: Trade_PriceInUSD}
limit: {count: 10}
) {
Trade {
PriceInUSD
}
Transaction{
Hash
}
quantile(of: Trade_PriceInUSD)
}
}
}
Variables
{
"tokenAddress": "0xDee6cDd28Da9f51e3A8421395973894a884F3B2D",
"startTime": "2024-12-25T19:24:33.59Z"
}
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