Solana instructions › Raydium CPMM (CP Swap) › update_amm_config

update_amm_config

Raydium CPMM (CP Swap) instruction. Program ID CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C. Position in this snapshot: 7.

Discriminator or tag: 0x313cae889a1c74c8 — published in the IDL snapshot.

From the IDL

Updates the owner of the amm config Must be called by the current owner or admin # Arguments * `ctx`- The context of accounts * `trade_fee_rate`- The new trade fee rate of amm config, be set when `param` is 0 * `protocol_fee_rate`- The new protocol fee rate of amm config, be set when `param` is 1 * `fund_fee_rate`- The new fund fee rate of amm config, be set when `param` is 2 * `new_owner`- The co

Accounts

#AccountRole
0ownersigner
1amm_configwritable

Arguments

ArgumentType
paramu8
valueu64

Other Raydium CPMM (CP Swap) instructions

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.