Latest Trades for Token on Solana

they are equal to transactions in case of considering buy and sell situation

Returns the latest 200 DEX trades by token on Solana, where side currency mint address is So1111…1112, currency mint address is 5Y28rG…pump and side type is buy: account owner and transaction signature.

By Kukic · saved 17 February 2025 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query LatestTrades($token: String, $limit: Int) {
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      limit: {count: $limit}
      where: {Trade: {Side: {Amount: {gt: "0"}, Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}, Type: {in: buy}}, Currency: {MintAddress: {is: $token}}, Price: {gt: 0}}, Transaction: {Result: {Success: true}}}
    ) {
      Trade {
        Account {
          Owner
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Variables

{
  "token": "5Y28rGrAawpngQmEzNRadAdQnubLthtfRtWWBmFFpump",
  "limit": 200
}

Similar queries