solana ATH

Returns one DEX trade by token on Solana, where side currency mint address is 111111…1111 or So1111…1112, currency mint address is 5eTuF5…bonk and side amount in USD is above 10, sorted by a ath, highest first: quantile of trade price in USD and trade price.

By gaurav · saved 29 January 2026 · run 14 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: combined) {
    DEXTradeByTokens(
      where: {Trade: {Side: {Currency: {MintAddress: {in:
        ["11111111111111111111111111111111",
          "So11111111111111111111111111111111111111112"]}}, 
        AmountInUSD: {gt: "10"}}, Currency: 
        {MintAddress: {is: "5eTuF52LmxisGfPPhZeiUkBPMdTkF3WfF1w5P5FUbonk"}}}}
      limit: {count: 1}
      orderBy: {descendingByField: "aATH"}
    ) {
      aATH: quantile(of: Trade_PriceInUSD, level: 0.99)
      Trade {
        Price(maximum: Trade_Price)
      }
    }
  }
}

Similar queries