ATH marketcap lies in this 2 min timeframe

Returns DEX trades by token on Solana, where currency mint address is 8SAwv8…pump, side currency mint address is So1111…1112 and block time since 2025-10-14: currency mint address, currency name, currency symbol, price in USD, side currency name, side currency symbol, side currency mint address and 2 more fields.

By Akshat · saved 16 December 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query GetAthMarketCap($tokens: [String!]!) {
  Solana(dataset: combined) {
    DEXTradeByTokens(
      where: {Block:{Time:{since:"2025-10-14T16:34:00Z" till:"2025-10-14T16:36:00Z"}} Trade: { Currency: {MintAddress: {in: $tokens}} Side:{Currency:{MintAddress:{in:["So11111111111111111111111111111111111111112"]}} AmountInUSD: {gt: "1"}}}}
    ) {
      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.99)
      ATH_Marketcap: calculate(expression: "$max * 1000000000")
      Starting_Marketcap: calculate(expression: "$Trade_Starting_Price * 1000000000")
    }
  }
}

Variables

{
  "tokens":"8SAwv8EKMKaKnupTsYjoQdgBuWxJdo3ouA178UU7pump"
}

Similar queries