Solana ATH

Returns 10 DEX trades by token and balance updates on Solana, where currency mint address is EEJhHB…pump, sorted by balance, highest first: quantile of trade price in USD, sum of balance update amount and account owner.

By LÂM QUANG VINH · saved 10 May 2025 · run 21 times · Bitquery API v2

What it returns

Filters

The query

query TradingView($token: String) {
  Solana(dataset: realtime) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: $token}}}}
    ) {
      max: quantile(of: Trade_PriceInUSD, level: 1)
    }
    BalanceUpdates(
      limit: {count: 10}
      orderBy: {descendingByField: "balance"}
      where: {BalanceUpdate: {Currency: {MintAddress: {is: $token}}}}
    ) {
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      BalanceUpdate {
        Account {
          Owner
        }
      }
    }
  }
}

Variables

{
  "network": "solana",
  "token": "EEJhHBwm2UE5vfR7oagkheHAveSpfymGzSiUnQ35pump"
}

Similar queries