Latest pool created on Orca - Websocket

Returns the latest DEX trade on Solana, where base currency is So1111…1112, quote currency is 8UBUBQ…Xnmc and exchange name is Jupiter, Raydium or 1 more: transaction hash, trade amount, price and timestamp time.

By Kabilesh K · saved 3 April 2025 · Bitquery API v2

What it returns

Filters

The query

query {
  solana {
    dexTrades(
      exchangeName: {in: ["Jupiter", "Raydium", "Meteora"]}
      baseCurrency: {is: "So11111111111111111111111111111111111111112"}  # SOL Address
      quoteCurrency: {is: "8UBUBQFbhHUSKeY2B4zJtyuRU7U8MWLYmH7FPNSNXnmc"}  # USDC Address
      options: {limit: 1, desc: "block.timestamp.time"}
    ) {
      transaction {
        hash
      }
      tradeAmount(in: USD)
      price
      block {
        timestamp {
          time
        }
      }
    }
  }
}

Similar queries