Node reference
Close Raydium CLMM position
Close an empty CLMM position NFT
Explore Raydium automation and workflows.
Close Raydium CLMM position closes an empty position after its liquidity, fees, and rewards have been removed.
Try it step by step
- Decrease the position’s liquidity to zero.
- Collect any remaining fees and rewards, then read the position again.
- Run Close with the same pool and position NFT only after those prerequisites are satisfied.
What to expect
The operation closes the position. The implementation rejects a close while liquidity or owed fees or rewards remain.
Things to check
- Closing is not a shortcut for withdrawing an active position.
- Check the returned transaction signature before removing this position from your own records.
- A position that has already been closed cannot be increased later; open a new one when needed.
Keep learning
Network setup: This node uses solana. See connections for RPC setup and Test mode for network selection.
Parameters
| Setting | Default | What it does |
|---|---|---|
| RPC URL | {{global.chains.solana.rpcUrl}} | Configured for Solana in workspace RPC settings. |
| Commitment | confirmed | How 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 Limit | 600000 | Maximum compute units requested for the transaction. |
| Priority Fee Ceiling (micro-lamports/CU) | 100000 | The locally audited transaction may never exceed this price. |
| Skip Preflight | false | Skip the RPC preflight check before sending. Keep this off while learning. |
| Confirm | false | Wait for transaction confirmation after submission. |
| Pool | — | Address identifying the pool for this operation. |
| Position NFT | — | Mint address of the NFT identifying the CLMM position, not the pool address. |
| On failure | stop | Choose whether a failed execution stops the workflow or only ends this path. |
| Retry attempts | 0 | How many additional attempts to make after the first failure. |
| Node name | (empty) | Custom display name. References and connections keep their existing identifiers. |
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.
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.
Node name: Double-brace expressions are not resolved in this field.
Inputs
| Port | Value | Description |
|---|---|---|
in | any | Payload to preserve with the Raydium result. |
Outputs
| Port | Value | Description |
|---|---|---|
out | object | The locally built, audited, signed, and submitted Raydium operation. |
out fields
| Field | Type |
|---|---|
operation | string |
poolAddress | string |
positionAddress | string |
positionNftAddress | string |
transactionSignature | string |
validation | object |