ATH

Returns one DEX trade by token on Solana, where currency mint address is 6aWog4…pump, side currency mint address is 111111…1111 or So1111…1112 and block time since 2015-05-03: currency mint address, currency name, currency symbol, price in USD, side currency symbol, quantile of trade price in USD and calculate.

By gaurav · saved 3 December 2025 · run 6 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: combined) {
    DEXTradeByTokens(
      limit:{count:1}
      limitBy: {by: Trade_Currency_MintAddress, count: 100}
      where: {Trade: {Currency: {MintAddress: {in:
        ["6aWog4Q4Mobi8B9o1SvGwAR9BWnpE8uasTgZaCWApump"]}}, 
        Side: {Currency: {MintAddress: {in: ["11111111111111111111111111111111",
          "So11111111111111111111111111111111111111112"]}}}}, 
        Block: {Time: {since: "2015-05-03T06:37:00Z"}}}
    ) {
      Trade {
        Currency {
          MintAddress
          Name
          Symbol
        }
        PriceInUSD(maximum: Trade_PriceInUSD)
        Side {
          Currency {
            Symbol
          }
        }
      }
      max: quantile(of: Trade_PriceInUSD, level: 0.98)
      ATH_Marketcap: calculate(expression: "$max * 1000000000")
    }
  }
}

Similar queries