Solana instructions › Raydium AMM V3 (CLMM) › swap_router_base_in

swap_router_base_in

Raydium AMM V3 (CLMM) instruction. Program ID CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK. Position in this snapshot: 18.

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

From the IDL

Swap token for as much as possible of another token across the path provided, base input # Arguments * `ctx` - The context of accounts * `amount_in` - Token amount to be swapped in * `amount_out_minimum` - Minimum output amount for slip control

Accounts

#AccountRole
0payersigner
1input_token_accountwritable
2input_token_mintwritable
3token_programread-only
4token_program_2022read-only
5memo_programread-only

Arguments

ArgumentType
amount_inu64
amount_out_minimumu64

Other Raydium AMM V3 (CLMM) 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.