> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raydium.io/llms.txt
> Use this file to discover all available pages before exploring further.

# CLMM IDL

> Every archived IDL of the CLMM program (raydium_clmm), with download links, SHA-256 checksums, source commit, and the mainnet period each version covers.

> [!NOTE]
>
> Program: `raydium_clmm`, program ID on [`reference/program-addresses`](https://docs.raydium.io/reference/program-addresses#on-chain-programs). Source: [`github.com/raydium-io/raydium-clmm`](https://github.com/raydium-io/raydium-clmm). Files are immutable — see [how the archive is published](https://docs.raydium.io/reference/idl/index.md#how-the-files-are-published).

## Latest

> [card] [raydium\_clmm.json](https://raydium-io.github.io/raydium-docs-v1/idl/clmm/2026-10-22/raydium_clmm.json)
>
> Version **2026-10-22** · live · 37 instructions, 53 errors

> [card] [raydium\_clmm.ts](https://raydium-io.github.io/raydium-docs-v1/idl/clmm/2026-10-22/raydium_clmm.ts)
>
> TypeScript type `RaydiumClmm` for `@anchor-lang/core`

## Version history

Newest first. Pick the version whose mainnet period covers the transaction you are decoding.

### 2026

| Version | Mainnet period (UTC) | Files | Changelog |
| - | - | - | - |
| **2026-10-22** | 2026-10-22 → | [JSON](https://raydium-io.github.io/raydium-docs-v1/idl/clmm/2026-10-22/raydium_clmm.json) · [TS](https://raydium-io.github.io/raydium-docs-v1/idl/clmm/2026-10-22/raydium_clmm.ts) | [`CreateCustomizablePoolV2`](https://docs.raydium.io/reference/changelog/2026-10-22-clmm-customizable-pool-v2) |
| **2026-09-30** | 2026-09-30 → 2026-10-22 | [JSON](https://raydium-io.github.io/raydium-docs-v1/idl/clmm/2026-09-30/raydium_clmm.json) · [TS](https://raydium-io.github.io/raydium-docs-v1/idl/clmm/2026-09-30/raydium_clmm.ts) | [Anchor 1.0, excess-lamports recovery](https://docs.raydium.io/reference/changelog/2026-09-30-clmm-anchor-1-and-excess-lamports.md) |
| 2026-08-17 | 2026-08-17 → 2026-09-30 | Same IDL as 2026-07-30 — [JSON](https://raydium-io.github.io/raydium-docs-v1/idl/clmm/2026-07-30/raydium_clmm.json) · [TS](https://raydium-io.github.io/raydium-docs-v1/idl/clmm/2026-07-30/raydium_clmm.ts) | [Restricted-issuer position NFT freezing](https://docs.raydium.io/reference/changelog/2026-08-17-clmm-restricted-position-nft-freeze.md) |
| **2026-07-30** | 2026-07-30 → 2026-09-30 | [JSON](https://raydium-io.github.io/raydium-docs-v1/idl/clmm/2026-07-30/raydium_clmm.json) · [TS](https://raydium-io.github.io/raydium-docs-v1/idl/clmm/2026-07-30/raydium_clmm.ts) | [Permissioned multi-pools](https://docs.raydium.io/reference/changelog/2026-07-30-clmm-permissioned-pools.md) |
| **2026-05-18** | 2026-05-18 → 2026-07-30 | [JSON](https://raydium-io.github.io/raydium-docs-v1/idl/clmm/2026-05-18/raydium_clmm.json) · [TS](https://raydium-io.github.io/raydium-docs-v1/idl/clmm/2026-05-18/raydium_clmm.ts) | [Limit orders, single-sided fee, dynamic fee](https://docs.raydium.io/reference/changelog/2026-05-18-clmm-limit-orders.md) |
| 2026-05-07 | Pre-release snapshot, not a mainnet interface | [JSON](https://raydium-io.github.io/raydium-docs-v1/idl/clmm/2026-05-07/raydium_clmm.json) · [TS](https://raydium-io.github.io/raydium-docs-v1/idl/clmm/2026-05-07/raydium_clmm.ts) | — |

Releases before 2026-05-18 are not archived.

## Version details

Versions 2026-05-18 and later were generated from the listed source commit with `anchor-cli 1.0.2` (`anchor idl build`). The "Program built with" row is the `anchor-lang` version of that commit. Each version was checked against its changelog entry before publishing.

> [accordion] 2026-10-22 — source 6d7a0f8
>
> | | |
> | - | - |
> | Source commit | `6d7a0f8` — "feat: rename create\_permissioned\_pool to create\_customizable\_pool\_v2 and drop permission PDA (#204)" |
> | Program built with | `anchor-lang =1.0.2` |
> | Contents | 37 instructions, 12 accounts, 15 events, 53 errors (`6000`–`6052`) |
> | `raydium_clmm.json` SHA-256 | `862adbd60703fac5a5b397de8130778bd127d944c909b883f831f5cbbf911c8f` |
> | `raydium_clmm.ts` SHA-256 | `5e48edc61460a6eb99e0b4bc07fbfb06b30a5305f705ec545d3cb4e526105826` |
>
> Changes from 2026-09-30: **instruction added** `create_customizable_pool_v2`. **Instructions removed** `create_permissioned_pool`, `create_permission_pda`, `close_permission_pda`. **Account removed** `Permission`. Error codes unchanged.

> [accordion] 2026-09-30 — source ed1eb41
>
> | | |
> | - | - |
> | Source commit | `ed1eb41` — "Chore/upgrade anchor (#202)" |
> | Program built with | `anchor-lang =1.0.2` |
> | Contents | 39 instructions, 13 accounts, 15 events, 53 errors (`6000`–`6052`) |
> | `raydium_clmm.json` SHA-256 | `975ed052eca97dcd954e9e381abd496fd2724089d75de1987f54e0978f7b8130` |
> | `raydium_clmm.ts` SHA-256 | `bc0acdab72ffd462daf0cad36a49f244a7ac979236f9ae860143f445c4fe84a7` |
>
> Changes from 2026-07-30: **instruction added** `collect_excess_lamports`. **Error appended** `6052` `LamportsCalculateError`.

> [accordion] 2026-07-30 (also 2026-08-17) — source 705555f
>
> | | |
> | - | - |
> | Source commit | `705555f` — "Merge pull request #194 from raydium-io/feat/create-permissioned-pool" |
> | Program built with | `anchor-lang =0.32.1` |
> | Contents | 38 instructions, 13 accounts, 15 events, 52 errors (`6000`–`6051`) |
> | `raydium_clmm.json` SHA-256 | `acc06b55bf1bd97613e4d8e48dcc0f3c6c6f07328b3a38eefea618f48a8328d5` |
> | `raydium_clmm.ts` SHA-256 | `6f47934c11514d3fd429eac76109439b92e1bdf806c8f4a5c238e949139c8b0e` |
>
> Changes from 2026-05-18: **instructions added** `create_permissioned_pool`, `create_permission_pda`, `close_permission_pda`, `close_support_mint_associated`. **Account list changed** `open_limit_order`. **Account added** `Permission`. **Type changed** `PoolState` (`seed_index`). **Error appended** `6051` `InvalidTickArrayBitmapExtensionAccount`.
>
> The builds of `51fdba2` ("Fix allowlist") and of the 2026-08-17 release `ed7c84a` ("Feat/position nft freeze") produce a byte-identical IDL. The 2026-08-17 release changed behaviour through `remaining_accounts` only, so it did not change the IDL.
>
> `6051` first appears in commit `03b44b7` (2026-07-16, "perf/swap-cu"), which is not covered by its own changelog entry. If you decode a `6051` from before 2026-07-30, use this file.

> [accordion] 2026-05-18 — source a0c0c18
>
> | | |
> | - | - |
> | Source commit | `a0c0c18` — "Merge pull request #178 from raydium-io/feat\_limitorder\_dynamicfee" |
> | Program built with | `anchor-lang =0.32.1` |
> | Contents | 34 instructions, 12 accounts, 15 events, 51 errors (`6000`–`6050`) |
> | `raydium_clmm.json` SHA-256 | `36d0085530e3f98973096d8fa52727f36fac2138b5ff6920d2aca9a0bb24bc2e` |
> | `raydium_clmm.ts` SHA-256 | `f4a5fb79dd7268126f15d3d1eab7e8d0ea22506f707e1ab063dbb9abf8d6f067` |
>
> The limit-order, single-sided-fee and dynamic-fee release. The follow-up fix commits up to `f68fd42` (2026-06-24) produce a byte-identical IDL.

> [accordion] 2026-05-07 — pre-release snapshot
>
> | | |
> | - | - |
> | Provenance | Imported unchanged from the former public IDL repository (`raydium-idl`), commit `e7e0c96`, 2026-05-07 |
> | TS type | Generated from the JSON with `anchor-cli 1.0.2`, `anchor idl type` |
> | Contents | 34 instructions, 12 accounts, 15 events, 51 errors (`6000`–`6050`) |
> | `raydium_clmm.json` SHA-256 | `040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1` |
> | `raydium_clmm.ts` SHA-256 | `73b7b0cf20378e5e9efee61040ba2dd8f2a15b896075a46bb6a9a9ed59530016` |
>
> Cut ahead of the 2026-05-18 release. It differs from the released build in the account lists of ten admin instructions and in the `SwapEvent` type. Use 2026-05-18 to decode mainnet transactions. This file is kept for reference because it is the CLMM IDL the former `raydium-idl` repository distributed.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.