blokboard/ Open app

Node reference

Remove Raydium CPMM liquidity

Redeem CPMM LP tokens with slippage protection

SolanaRaydium

Remove Raydium CPMM liquidity redeems LP tokens from a CPMM pool for the underlying token pair.

Try it step by step#

  1. Use List Raydium positions to identify the wallet’s pool and LP holding.
  2. Enter that pool and the LP Token Amount to redeem.
  3. Review slippage, execute, and inspect the transaction result and updated holdings.

What to expect#

The amount is measured in LP tokens, not Mint A or Mint B. The returned underlying token amounts depend on the pool reserves and your share.

Things to check#

  • A token wallet balance is not the same as an LP token balance.
  • Do not use a CLMM position NFT in this operation; CLMM liquidity is removed through Decrease Raydium CLMM position.
  • Recheck remaining LP holdings before repeating a withdrawal.

Keep learning#

Network setup: This node uses solana. See connections for RPC setup and Test mode for network selection.

Parameters#

SettingDefaultWhat it does
RPC URL{{global.chains.solana.rpcUrl}}Configured for Solana in workspace RPC settings.
CommitmentconfirmedHow far a Solana block must be confirmed before its data is used.
Wallet{{global.main_wallet}}Wallet that owns the assets or position and signs this operation.
Raydium API URL—Optional Raydium data API URL. Leave empty to use the configured network endpoint.
Compute Unit Limit600000Maximum compute units requested for the transaction.
Priority Fee Ceiling (micro-lamports/CU)100000The locally audited transaction may never exceed this price.
Signing LayerautoSigning provider to use. Auto selects an available provider for this run.
Skip PreflightfalseSkip the RPC preflight check before sending. Keep this off while learning.
ConfirmfalseWait for transaction confirmation after submission.
Pool—Address identifying the pool for this operation.
LP Token Amount—Quantity of LP tokens to redeem, using the LP token’s display units.
Slippage (%)0.5Maximum tolerated execution change in percent; 0.5 means half a percent.
On failurestopChoose whether a failed execution stops the workflow or only ends this path.
Retry attempts0How many additional attempts to make after the first failure.

RPC URL: Available under More options.

Commitment: Choices: Processed (processed), Confirmed (confirmed), Finalized (finalized). Available under More options.

Raydium API URL: Available under More options.

Compute Unit Limit: Available under More options. Limits: minimum 1; maximum 1400000.

Priority Fee Ceiling (micro-lamports/CU): Available under More options.

Signing Layer: Choices: Auto (auto), Application (executable), Extension (extension), Web Vault (web). Available under More options.

Skip Preflight: Available under More options.

Confirm: Available under More options.

On failure: Choices: Stop workflow (stop), Continue (continue). Available under More options.

Retry attempts: Available under More options. Limits: minimum 0.

Inputs#

PortValueDescription
inanyPayload to preserve with the Raydium result.

Outputs#

PortValueDescription
outobjectThe locally built, audited, signed, and submitted Raydium operation.

out fields#

FieldType
operationstring
poolAddressstring
positionAddressstring
positionNftAddressstring
transactionSignaturestring
validationobject