Solana DEXTradeByTokens

Returns 100 DEX trades by token on Solana, where DEX program address is 6EF8rr…wF6P, side currency mint address is 111111…1111 or So1111…1112 and trade price in USD is above 0.0005, sorted by ath marketcap, highest first: currency mint address, currency name, currency symbol, price in USD, quantile of trade price in USD and calculate.

By Misha · saved 11 June 2026 · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: combined) {
    DEXTradeByTokens(
      limitBy: { by: Trade_Currency_MintAddress, count: 1 }
      limit: { count: 100 }
      orderBy: { descendingByField: "ATH_Marketcap" }
      where: {
        Trade: {
          Dex: {
            ProgramAddress: {
              is: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"
            }
          }
          Side: {
            Currency: {
              MintAddress: {
                in: [
                  "11111111111111111111111111111111"
                  "So11111111111111111111111111111111111111112"
                ]
              }
            }
          }
          PriceInUSD: { gt: 0.0005 }
        }
      }
    ) {
      Trade {
        Currency {
          MintAddress
          Name
          Symbol
        }
        PriceInUSD(maximum: Trade_PriceInUSD)
      }
      max: quantile(of: Trade_PriceInUSD, level: 0.98)
      ATH_Marketcap: calculate(expression: "$max * 1000000000")
    }
  }
}

Similar queries