last traders for token

Returns the latest 50 DEX trades by token on Solana, where currency mint address is So1111…1112, side currency mint address is 111111…1111, So1111…1112 or 4 more and block time after 2026-03-30: block time, transaction signature, market address, protocol family, protocol name, amount in USD, price in USD and 7 more fields.

By Nadia · saved 31 March 2026 · Bitquery API v2

What it returns

Filters

The query

query LatestTrades($token: String!, $wsol: String!, $usdc: String!, $usdt: String!, $time_ago: DateTime!) {
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      limit: {count: 50}
      where: {Trade: {Currency: {MintAddress: {is: $token}},
        Side: {Currency: {MintAddress: {in: ["11111111111111111111111111111111", $wsol, $usdc, $usdt, "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN", "EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm"]}}}},
        Block: {Time: {after: $time_ago}}}
    ) {
      Block {
        Time
      }
      Transaction {
        Signature
      }
      Trade {
        Market {
          MarketAddress
        }
        Dex {
          ProtocolFamily
          ProtocolName
        }
        AmountInUSD
        PriceInUSD
        Amount
        Side {
          Type
          Currency {
            Symbol
            MintAddress
            Name
          }
          AmountInUSD
          Amount
        }
      }
    }
  }
}

Variables

{
  "token": "So11111111111111111111111111111111111111112",
  "usdc": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "usdt": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
  "wsol": "So11111111111111111111111111111111111111112",
  "time_ago": "2026-03-30T09:34:59Z"
}

Similar queries