Top Bought Solana Tokens

Returns 100 DEX trades by token on Solana, where currency mint address is not So1111…1112 or EPjFWd…Dt1v and DEX protocol family is Raydium, sorted by buy, highest first: currency symbol, currency name, currency mint address, URI, count and sum of trade side amount in USD.

By Stephanie · saved 13 December 2024 · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTradeByTokens(
      orderBy: {descendingByField: "buy"}
      where: {Trade: {Currency: {MintAddress: {notIn: ["So11111111111111111111111111111111111111112", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"]}}, Dex: {ProtocolFamily: {is: "Raydium"}}}, Transaction: {Result: {Success: true}}}
      limit: {count: 100}
    ) {
      Trade {
        Currency {
          Symbol
          Name
          MintAddress
          Uri
        }
      }
      tradesCountWithUniqueTraders: count(distinct: Transaction_Signer)
      buy: sum(of: Trade_Side_AmountInUSD, if: {Trade: {Side: {Type: {is: buy}}}})
      sell: sum(of: Trade_Side_AmountInUSD, if: {Trade: {Side: {Type: {is: sell}}}})
    }
  }
}

Similar queries