Solana IDL reference › Raydium CPMM (CP Swap)
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 | Discriminator | Size (bytes) |
|---|---|---|
| AmmConfig | 0xdaf42168cbcb2b6f | 236 |
| ObservationState | 0x7aaec5358109a584 | 4075 |
| PoolState | 0xf7ede3f5d7c3de46 | 637 |
| Event | Discriminator |
|---|---|
| LpChangeEvent | 0x79a3cdc939da753c |
| SwapEvent | 0x40c6cde8260871e2 |
GET /api/idl/raydium-cpmm (Rugsight's normalized JSON, not the original IDL file)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.