Marketcap of tokens
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
- currency mint address
- currency name
- currency symbol
- price in USD
- side currency name
- side currency symbol
- side currency mint address
- quantile of trade price in USD
- calculate
Filters
- currency mint address is 8SAwv8…pump
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/
#
query GetAthMarketCap($tokens: [String!]!) {
Solana(dataset: combined) {
DEXTradeByTokens(
limitBy: {by: Trade_Side_Currency_MintAddress, count: 1}
where: {Trade: {Currency: {MintAddress: {in: $tokens}}}}
) {
Trade {
Currency {
MintAddress
Name
Symbol
}
PriceInUSD(maximum: Trade_PriceInUSD)
Starting_Price: PriceInUSD(minimum: Block_Slot)
Side {
Currency {
Name
Symbol
MintAddress
}
}
}
max: quantile(of: Trade_PriceInUSD, level: 0.98)
quantile_price_ATH_Marketcap: calculate(expression: "$max * 1000000000")
Real_maximum_price_ATH_Marketcap: calculate(
expression: "$Trade_PriceInUSD_maximum * 1000000000"
)
Starting_Marketcap: calculate(expression: "$Trade_Starting_Price * 1000000000")
}
}
}
Variables
{
"tokens": "8SAwv8EKMKaKnupTsYjoQdgBuWxJdo3ouA178UU7pump"
}
Similar queries
- ANSEM daily traders, June 16 to 26, 2026 · Solana · DEXTradeByTokens
- ANSEM swaps per hour, June 27, 2026 · Solana · DEXTradeByTokens
- FOMO App: Top Tokens Bought, Last Hour (Solana) · Solana · DEXTradeByTokens
- FOMO App: Most Active Wallets, Last Hour (Solana) · Solana · DEXTradeByTokens
- Buys, Sells, BuyVolume, SellVolume, Makers, TotalTradedVolume, PriceinUSD for solana token pair · Solana · DEXTradeByTokens