trending token 2

Returns 100 DEX trades by token on Solana, where side currency mint address is So1111…1112 and block time since 2025-01-15, sorted by unique traders, highest first: currency name, currency symbol, currency mint address, market address, protocol name, price in USD, count and 5 more fields.

By Alberto Gomez Toribio · saved 18 January 2026 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: realtime) {
    DEXTradeByTokens(
      limit: {count: 100}
      orderBy: {descendingByField: "uniqueTraders"}
      where: {
        Transaction: {Result: {Success: true}}
        Trade: {
          Side: {
            Currency: {
              MintAddress: {is: "So11111111111111111111111111111111111111112"}
            }
          }
        }
        Block: {Time: {since: "2025-01-15T12:00:00Z"}}
      }
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
        Market {
          MarketAddress
        }
        Dex {
          ProtocolName
        }
        CurrentPrice: PriceInUSD(maximum: Block_Time)
        Price_1h_ago: PriceInUSD(minimum: Block_Time, if: {Block: {Time: {after: "2025-01-16T11:00:00Z"}}})
        Price_2h_ago: PriceInUSD(minimum: Block_Time, if: {Block: {Time: {after: "2025-01-16T10:00:00Z"}}})
        Price_4h_ago: PriceInUSD(minimum: Block_Time, if: {Block: {Time: {after: "2025-01-16T08:00:00Z"}}})
        Price_8h_ago: PriceInUSD(minimum: Block_Time, if: {Block: {Time: {after: "2025-01-16T04:00:00Z"}}})
        Price_24h_ago: PriceInUSD(minimum: Block_Time)
      }
      
      uniqueTraders: count(distinct: Transaction_Signer)
      volume_24h: sum(of: Trade_Side_AmountInUSD)
      txns_24h: count
      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}}}})
      
      fdv: joinTokenSupplyUpdates(
        join: inner
        TokenSupplyUpdate_Currency_MintAddress: Trade_Currency_MintAddress
      ) {
        TokenSupplyUpdate {
          PostBalanceInUSD(maximum: Block_Slot)
          PostBalance(maximum: Block_Slot)
        }
      }
      
      liquidity: joinDEXPools(
        join: inner
        Pool_Market_MarketAddress: Trade_Market_MarketAddress
      ) {
        Pool {
          Quote {
            PostAmountInUSD(maximum: Block_Slot)
          }
          Base {
            PostAmountInUSD(maximum: Block_Slot)
          }
        }
      }
    }
  }
}

Variables

{
    "mintAddress": "<active_token_mint>",
    "since": "2026-01-17T00:00:00Z"
}

Similar queries