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.
Liquidity positions and rewards use different mechanics across Raydium products. CPMM positions use fungible LP tokens. CLMM positions use position NFTs with a selected price range. Farm rewards accrue while eligible LP tokens are staked.
Before you start
Check that you have:- The token pair you want to deposit.
- Enough SOL for transaction fees and priority fees.
- The correct pool on Raydium.io.
- A clear understanding of whether the position is passive CPMM liquidity or actively managed CLMM liquidity.
Add liquidity to a CPMM pool
- Open the pool page on Raydium.
- Click Add liquidity.
- Enter the amount of one token. The other amount auto-fills at the pool’s current ratio.
- Review the LP tokens you will receive and your expected pool share.
- Confirm in Raydium, then approve in your wallet.
Remove liquidity from a CPMM pool
- Open the pool page or your portfolio position.
- Click Remove liquidity.
- Enter the LP token amount, or use the percentage slider.
- Review the two token amounts you will receive.
- Confirm and approve in your wallet.
Open or manage a CLMM position
CLMM positions are NFTs. They have four common actions:- Open position: mint a new position NFT with an initial range and liquidity.
- Increase liquidity: add more liquidity to an existing position.
- Decrease liquidity: remove part of the liquidity while keeping the NFT.
- Close position: remove all liquidity, collect pending fees and rewards, then burn the NFT.
Open a CLMM position
- Open the CLMM pool page.
- Choose a lower price and upper price.
- Enter the deposit amount.
- Review whether the position is in range, partially in range, or out of range.
- Confirm and approve.
Increase, decrease, or close a CLMM position
- Increase: open the position card, click Increase, enter an amount, review the required token pair, and sign.
- Decrease: click Decrease, choose a percentage or amount, review the estimated token return, and sign.
- Close: decrease liquidity to zero, collect unclaimed fees and rewards, then close the position. Closing burns the position NFT and returns rent where applicable.
Harvest farm rewards
Farm rewards accrue while your LP tokens are staked in an active farm. Harvesting transfers pending rewards to your wallet. It does not withdraw your stake.- Open raydium.io/portfolio.
- Find your farm position.
- Click Harvest.
- Review pending amounts per reward stream.
- Confirm and approve in your wallet.
Collect CLMM fees and rewards
CLMM positions earn swap fees in both pool mints. Fees accrue on the position and do not auto-compound.- Open your CLMM position from raydium.io/portfolio.
- Click Collect fees or Collect rewards.
- Review the token amounts.
- Confirm and approve.
Timing and fee economics
Every claim costs a Solana transaction fee and may include a priority fee during congestion.- For small pending amounts, wait until rewards are meaningful relative to the transaction fee.
- For larger positions, weekly or monthly claims are often enough.
- There is usually no need to claim every day unless you are actively compounding.
Verification
After a CPMM deposit:- Check that your wallet shows the LP token balance.
- Check that Raydium’s portfolio page shows the position.
- Open the transaction signature and confirm the pool deposit succeeded.
- Check that your portfolio shows the position NFT.
- Confirm the lower and upper price range match what you selected.
- Check whether the current price is in range.
- Check that the transaction status is Success.
- Confirm the reward or fee token balance increased in your wallet.
- Refresh Raydium’s portfolio page and confirm pending amounts reset or decreased.
Troubleshooting
Slippage on deposit ratio
The deposit ratio is computed at quote time. If the pool price moves before you sign, the transaction may fail. Re-quote and retry. Raise slippage only as much as needed for volatile pairs.Token-2022 transfer fees on deposit
If a Token-2022 mint charges transfer fees, the pool receives less than you send. Raydium shows the transfer-fee warning before you sign.Dust at withdrawal
Rounding may leave tiny amounts in the pool or in your wallet. This is normal and does not indicate a failed withdrawal.CLMM position is not an LP token
CLMM positions are NFTs. Check Raydium’s portfolio page or your wallet’s NFT view instead of looking for fungible LP tokens.Harvesting just before a reward ends
If a reward stream ends while you have pending rewards, the pending amount stops growing. You can still claim it after the end time unless the farm has been wound down in an unusual way.Priority fee too low
If the transaction sits pending or expires, retry with a higher priority-fee setting.Claiming across many farms
Large batch claims can fail if too many positions or reward streams are included. Claim a few positions at a time.Pointers
- CPMM accounts and CLMM accounts — on-chain state.
- CLMM fees — CLMM’s built-in fees and rewards.
- Wallet integration — showing positions in a wallet UI.
- CLMM math — range ratio formulas.


