Solana IDL reference › Raydium AMM V3 (CLMM) › PersonalPositionState

PersonalPositionState account layout

Raydium AMM V3 (CLMM) account type. Program ID CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK. Data starts with the 8-byte account discriminator, published in the IDL.

Discriminator (published in the IDL)

hex 0x466f967ee60f1975

bytes [70, 111, 150, 126, 230, 15, 25, 117]

base58 CnKMFn1tsuE

Fields (offsets include the 8-byte discriminator)

FieldTypeOffsetSize
bump[u8; 1]81
nft_mintpubkey932
pool_idpubkey4132
tick_lower_indexi32734
tick_upper_indexi32774
liquidityu1288116
fee_growth_inside_0_last_x64u1289716
fee_growth_inside_1_last_x64u12811316
token_fees_owed_0u641298
token_fees_owed_1u641378
reward_infos[PositionRewardInfo; 3]14572
recent_epochu642178
padding[u64; 7]22556

getProgramAccounts filter

Every PersonalPositionState account starts with the same discriminator, so a memcmp at offset 0 selects this account type. The second filter matches nft_mint at offset 9. A dataSize: 281 filter would also work only while live accounts still have the snapshot size; programs often add fields in upgrades, so it is left out here. getProgramAccounts on a large program is heavy; many RPC providers limit or disable it.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getProgramAccounts",
  "params": [
    "CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK",
    {
      "encoding": "base64",
      "filters": [
        {
          "memcmp": {
            "offset": 0,
            "bytes": "CnKMFn1tsuE"
          }
        },
        {
          "memcmp": {
            "offset": 9,
            "bytes": "<nft_mint as base58>"
          }
        }
      ]
    }
  ]
}

Decode account data

Decoding runs on Rugsight's server against the bundled snapshot. Nothing is fetched from the chain. Paste public account data only; never paste a private key or seed phrase.

Other Raydium AMM V3 (CLMM) account types

Raydium AMM V3 (CLMM) instructions · Explain a transaction

Data: solana-idls@1.2.1 (MIT, © Obsidian Protocol) and SPL Token / Token-2022 state layouts (Apache-2.0), snapshot 2026-11-17. Programs can upgrade and an IDL snapshot can lag the deployed program, so check important offsets against current account data.