Skip to main content
Program: raydium_cp_swap, program ID on reference/program-addresses. Source: github.com/raydium-io/raydium-cp-swap. Files are immutable — see how the archive is published.

Latest

raydium_cp_swap.json

Version 2026-10-30 · live · 21 instructions, 16 errors

raydium_cp_swap.ts

TypeScript type RaydiumCpSwap for @anchor-lang/core

Version history

Newest first. Pick the version whose mainnet period covers the transaction you are decoding. Each version adds to the one below it; see its details for exactly what changed.

2026

Releases before the 2026-05-07 snapshot are not archived.

Version details

All versions except 2026-05-07 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.
Changes from 2026-09-19: instruction added initialize_v2. Nothing else changed.
Changes from 2026-09-09: instructions added create_creator_fee_share, close_creator_fee_share. Account added CreatorFeeShare. Account lists changed collect_creator_fee, collect_creator_fee_permissionless. Type changed AmmConfig (new creator_fee_share_rate).
Changes from 2026-08-17: instruction added collect_excess_lamports. Account list changed close_permission_pda. Error appended 6015 LamportsCalculateError.
Changes from 2026-06-12: instruction added collect_creator_fee_permissionless. Account list changed create_permission_pda.
Changes from 2026-05-07: instructions added create_support_mint_associated, close_support_mint_associated. Account added SupportMintAssociated.This release has no changelog entry, so its mainnet date is not recorded. The version is keyed by its commit date.
CPMM’s on-chain IDL lives in the Program Metadata program, not in a legacy anchor:idl account — see sdk-api/anchor-idl.