Solana instructions › Raydium AMM V3 (CLMM) › 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.
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
| # | Account | Role |
|---|---|---|
| 0 | payer | signer |
| 1 | input_token_account | writable |
| 2 | input_token_mint | writable |
| 3 | token_program | read-only |
| 4 | token_program_2022 | read-only |
| 5 | memo_program | read-only |
| Argument | Type |
|---|---|
| amount_in | u64 |
| amount_out_minimum | u64 |
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.