ATH of base token
Historical data This query already reads history - it uses the combined dataset, which needs the historical data add-on for this chain. Without the add-on it fails with 'access restricted: your plan only allows realtime'. Drop the dataset argument to fall back to the recent window. Datasets: https:
What it returns
- price in USD
- currency name
- currency symbol
- smart contract
- side currency name
- side currency symbol
- side smart contract
- quantile of trade price in USD
Filters
- currency smart contract is 0x9f86…6b07
- side currency smart contract is 0x, 0x8335…2913 or 1 more
- block date since 2025-01-01
- trade amount in USD is above 5
The query
# Historical data
# This query already reads history - it uses the combined dataset, which
# needs the historical data add-on for this chain.
#
# Without the add-on it fails with 'access restricted: your plan only allows
# realtime'. Drop the dataset argument to fall back to the recent window.
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
{
EVM(network: base, dataset: combined) {
DEXTradeByTokens(
where: {Block: {Date: {since: "2025-01-01"}},
Trade: {Currency: {SmartContract:
{is: "0x9f86dB9fc6f7c9408e8Fda3Ff8ce4e78ac7a6b07"}},
Side: {Currency: {SmartContract: {in: [
"0x",
"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"0x4200000000000000000000000000000000000006"]}}},
AmountInUSD: {gt: "5"}}, TransactionStatus: {Success: true}}
limitBy:{count:1 by:Trade_Side_Currency_SmartContract}
orderBy: {descendingByField: "ath_price"}
) {
Trade {
PriceInUSD(maximum: Trade_PriceInUSD)
Currency {
Name
Symbol
SmartContract
}
Side {
Currency {
Name
Symbol
SmartContract
}
}
}
ath_price: quantile(of: Trade_PriceInUSD, level: 0.95)
ath_99: quantile(of: Trade_PriceInUSD, level: 0.99)
}
}
}
Similar queries
- Coinbase stock tokens: DEX trading on Base, Sep 5 to Oct 4 2026 · Base · DEXTradeByTokens
- Coinbase stock tokens: DEX trading on Base in August 2026 · Base · DEXTradeByTokens
- optimized query to get pools data · Ethereum · DEXTradeByTokens
- AfricaCryptoChainx · Ethereum · DEXTradeByTokens
- top pools of a token · Base · DEXTradeByTokens