Price ATH query

Returns one DEX trade by token on Solana, where side currency mint address is 111111…1111, EPjFWd…Dt1v or 2 more and currency mint address is 2tnA2Z…6m26, sorted by a ath, highest first: quantile of trade price in USD.

By gaurav · saved 16 July 2025 · run 39 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: combined) {
    DEXTradeByTokens(
      where: {Trade: {Side: {Currency: {MintAddress: {in: ["11111111111111111111111111111111", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB", "So11111111111111111111111111111111111111112"]}}}, Currency: {MintAddress: {is: "2tnA2ZmwmgUZLyYLi97zbwsFBXAqpMEcHu9Cv9JW6m26"}}}}
      limit: {count: 1}
      orderBy: {descendingByField: "aATH"}
    ) {
      aATH: quantile(of: Trade_PriceInUSD, level: 0.95)
    }
  }
}

Similar queries