Solana instructions › Raydium AMM V3 (CLMM) › open_position_with_token22_nft
Raydium AMM V3 (CLMM) instruction. Program ID CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK. Position in this snapshot: 15.
Discriminator or tag: 0x4dffae527d1dc92e — published in the IDL snapshot.
Creates a new position wrapped in a Token2022 NFT without relying on metadata_program and metadata_account, reduce the cost for user to create a personal position. # Arguments * `ctx` - The context of accounts * `tick_lower_index` - The low boundary of market * `tick_upper_index` - The upper boundary of market * `tick_array_lower_start_index` - The start index of tick array which include tick low
| # | Account | Role |
|---|---|---|
| 0 | payer | writable, signer |
| 1 | position_nft_owner | read-only |
| 2 | position_nft_mint | writable, signer |
| 3 | position_nft_account | writable |
| 4 | pool_state | writable |
| 5 | protocol_position | writable |
| 6 | tick_array_lower | writable |
| 7 | tick_array_upper | writable |
| 8 | personal_position | writable |
| 9 | token_account_0 | writable |
| 10 | token_account_1 | writable |
| 11 | token_vault_0 | writable |
| 12 | token_vault_1 | writable |
| 13 | rent | read-only |
| 14 | system_program | read-only |
| 15 | token_program | read-only |
| 16 | associated_token_program | read-only |
| 17 | token_program_2022 | read-only |
| 18 | vault_0_mint | read-only |
| 19 | vault_1_mint | read-only |
| Argument | Type |
|---|---|
| tick_lower_index | i32 |
| tick_upper_index | i32 |
| tick_array_lower_start_index | i32 |
| tick_array_upper_start_index | i32 |
| liquidity | u128 |
| amount_0_max | u64 |
| amount_1_max | u64 |
| with_metadata | bool |
| base_flag | option<bool> |
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.