Solana instructions › Raydium CPMM (CP Swap)

Raydium CPMM (CP Swap) instructions

Program ID CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C. 10 instructions in this snapshot. Source: solana-idls@1.2.1.

InstructionDiscriminator or tag
collect_fund_fee0xa78a4e95dfc2067e12 accounts
collect_protocol_fee0x8888fcddc2427e5912 accounts
create_amm_config0x8934edd4d7756c683 accounts
deposit0xf223c68952e1f2b613 accounts
initialize0xafaf6d1f0d989bed20 accounts
swap_base_input0x8fbe5adac41e33de13 accounts
swap_base_output0x37d96256a34ab4ad13 accounts
update_amm_config0x313cae889a1c74c82 accounts
update_pool_status0x82576c062ee0757b2 accounts
withdraw0xb712469c946da12214 accounts

To see which instructions a confirmed transaction actually ran, paste its signature into the Rugsight transaction explainer.

Instruction lists and published discriminators come from solana-idls@1.2.1 (MIT) and, for the System Program, Compute Budget and Associated Token Account programs, from their public instruction enums (Apache-2.0). Snapshot date 2026-11-17. Programs can upgrade, so a live program may differ from this snapshot. Computed Anchor discriminators are the first 8 bytes of sha256("global:<snake_case_name>") and are labelled as computed.