solana traders of a token

Returns 100 DEX trades by token on Solana, where currency mint address is 98sMhv…Mh5g and DEX protocol name is not jupiter or dex_solana_v3, sorted by volume, highest first: currency name, currency symbol, currency mint address, account owner, count and sum of trade side amount in USD.

By Akshat · saved 23 March 2026 · run 3 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: combined) {
    DEXTradeByTokens(
      where: {
        Trade: {
          Currency: {
            MintAddress: { is: "98sMhvDwXj1RQi5c5Mndm3vPe9cBqPrbLaufMXFNMh5g" }
          }
          Dex:{ProtocolName:{notIn:["jupiter","dex_solana_v3"]}}
        }
        Transaction: { Result: { Success: true } }
        Block: {Time:{since_relative:{days_ago:30}}}
      }
      orderBy: { descendingByField: "volume" }
      limit: { count: 100 }
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
        Account {
          Owner
        }
      }
      buys: count(if: { Trade: { Side: { Type: { is: buy } } } })
      sells: count(if: { Trade: { Side: { Type: { is: sell } } } })
      buy_volume: sum(
        of: Trade_Side_AmountInUSD
        if: { Trade: { Side: { Type: { is: buy } } } }
      )
      sell_volume: sum(
        of: Trade_Side_AmountInUSD
        if: { Trade: { Side: { Type: { is: sell } } } }
      )
      volume: sum(of: Trade_Side_AmountInUSD)
      trades: count
    }
  }
}

Similar queries