Solana IDL reference › Raydium CPMM (CP Swap)

Raydium CPMM (CP Swap) IDL

Program ID CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C. IDL name raydium_cp_swap, version 0.2.0. Format: Anchor 0.30+ IDL (discriminators published). 6 type definitions. Source: solana-idls@1.2.1.

Account types

AccountDiscriminatorSize (bytes)
AmmConfig0xdaf42168cbcb2b6f236
ObservationState0x7aaec5358109a5844075
PoolState0xf7ede3f5d7c3de46637

Events

EventDiscriminator
LpChangeEvent0x79a3cdc939da753c
SwapEvent0x40c6cde8260871e2

More

Decode Raydium CPMM (CP Swap) data

Decoding runs on Rugsight's server against the bundled snapshot. Nothing is fetched from the chain. Paste public account data only; never paste a private key or seed phrase.

Data: solana-idls@1.2.1 (MIT, © Obsidian Protocol) and SPL Token / Token-2022 state layouts (Apache-2.0), snapshot 2026-11-17. Programs can upgrade and an IDL snapshot can lag the deployed program, so check important offsets against current account data.