raydium clmm latest trades

Returns the latest DEX trades by token on Solana, where program address is CAMMCz…rWqK: currency name, currency mint address, protocol name, protocol family, program address, side currency name, side currency mint address and 13 more fields.

By Divyasshree · saved 7 March 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: realtime) {
    DEXTradeByTokens(
      where: {Instruction: {Program: {Address: {is: "CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK"}}}, Trade: {}}
      orderBy: {descending: Block_Time}
    ) {
      Trade {
        Currency {
          Name
          MintAddress
        }
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
        Side {
          Currency {
            Name
            MintAddress
          }
          AmountInUSD
          Amount
          Account {
            Address
          }
        }
        Market {
          MarketAddress
        }
        PriceInUSD
        Price
        Amount
        AmountInUSD
        Account {
          Address
        }
      }
      Transaction {
        Signature
      }
      Block {
        Time
        Height
        Slot
      }
    }
  }
}

Similar queries