Raydium

Raydium concentrated liquidity lets providers set the price ranges where their deposits support swaps.

Raydium concentrated liquidity places a token deposit inside chosen price bounds in a CLMM pool. CLMM means concentrated liquidity market maker, and positions earn swap fees only while the pool price lies inside their ranges. The range and current price determine the required token mix, which changes as swaps move the price. A narrower range concentrates liquidity around fewer prices; a wider range accommodates larger price moves. Raydium runs these pools on Solana and represents individual positions with non-fungible tokens, or NFTs. Range selection therefore affects trading participation, token exposure and the work needed to maintain a position.

The short version: A wider range covers more prices, while a narrower range concentrates liquidity and can become inactive after smaller price moves.

Selected ranges and the resulting CLMM position

Opening an in-range position moves the required token amounts into pool vaults and creates a position NFT.

For a deposit intended to participate in swaps immediately, define the acceptable range before approving the deposit. Choose bounds around the current pool price. When the price lies strictly between them, the deposit requires both pool tokens. A missing counterpart balance prevents that intended deposit. SOL funding for transaction fees and any required account creation is another prerequisite, even when both deposit tokens are available.

  • Match the pool’s token mints to the assets that you intend to deposit.
  • Use valid range endpoints with the pool price strictly between them for immediate participation.
  • Hold both token amounts that the selected range requires.
  • Reserve SOL for transaction fees and any necessary account funding.
  • Review the maximum token amounts and deposit slippage before approval.

Compare narrower and wider ranges using the same question: which prices will this deposit cover? Choosing an out-of-range position changes that answer and can allow a single-token deposit. It also delays swap-fee participation until the price enters the range.

Once the balances satisfy the deposit requirements, review the final bounds and token amounts before signing. Price movement can change the required ratio between the preview and execution.

Successful execution should leave a funded position whose recorded pool and bounds match the selection. Check the position NFT and its associated position details, alongside the transaction’s successful status. Confirm that the recorded liquidity is positive. The latest pool price establishes whether the position is still active; a completed deposit does not keep the price inside its range.

Ticks connect price bounds to active liquidity

Two boundary ticks define a position’s range, and the pool’s tick spacing determines the permitted endpoints. A tick is an indexed price level. Tick prices follow proportional increments, rather than equal additions in the displayed price unit. The interface converts a chosen price into a valid tick, so the final boundary can differ slightly from the number that a provider entered. The deposited position follows those final ticks.

The current tick determines which positions contribute active liquidity. As a swap crosses a position boundary, the program adds or removes that position’s contribution. Pool-wide deposited value can therefore differ substantially from the liquidity available near the trading price. Tick arrays group this boundary information into Solana accounts; they store pool bookkeeping, rather than separate user balances.

Price direction and token composition

A price move changes the tokens represented by the position, even when its recorded liquidity amount stays unchanged. Consider price expressed as quote tokens per base token. As that price rises through the range, the position exchanges base tokens for quote tokens. Falling prices move the composition toward the base token. The required deposit ratio follows the same relationship between current price and range boundaries.

An out-of-range CLMM position’s principal consists entirely of one pool token. Below the lower bound, it holds the base token under that price convention. Above the upper bound, it holds the quote token. Reversing the displayed price convention reverses how those labels apply. Previously accrued fees remain separate balances and can include both tokens, even when the principal has become single-sided.

Does a narrower range always earn more?

A narrower range does not always earn more because swap activity and time spent in range determine fee opportunities. With the same deposit value, tighter bounds can provide more liquidity near the current price. That improves capital efficiency while the position participates. It also places the boundaries closer to the price, so a smaller movement can leave the position inactive.

A wider range covers more prices with less concentrated liquidity. The useful comparison holds the pool and deposited value constant, then considers the price path and competing active liquidity. A period with substantial trading inside tight bounds differs from one with frequent departures. A historical fee annual percentage rate (APR) annualizes observed or estimated earnings; it does not specify what a newly selected range will earn.

Active liquidity and the provider’s fee share

Swap fees reach a position through its share of active liquidity at the prices that each swap traverses. Total pool value is an incomplete denominator because inactive positions do not contribute to that trading liquidity. A large deposit outside the relevant range cannot earn the same fees as an active deposit merely by remaining in the pool. Other positions entering or leaving activity also change the share.

The pool’s configuration determines the trading fee and the portion allocated to liquidity providers. Legacy input-fee pools accrue fees in the token entering each swap. Customizable pools can instead collect fees consistently in one designated pool token. Pools that enable dynamic fees can add a volatility-sensitive component. Those settings affect fee accrual without changing the requirement that a position be active where trading occurs.

Fee collection and deposited liquidity

Collecting accrued fees transfers owed tokens from pool vaults without requiring a reduction in the position’s liquidity. Trading fees accrue separately from a CLMM position’s deposited liquidity. The position keeps records of fee growth inside its bounds, which the program uses to calculate accrued amounts. An unclaimed fee balance therefore represents tokens owed to the position, rather than an automatic increase in its active liquidity.

Compounding requires those tokens to fund an additional liquidity deposit. The required mix still follows the existing bounds and current price, so collected tokens may need rebalancing first. Increasing liquidity preserves the position’s price boundaries. Collection and additional deposits also consume transaction fees. Small fee balances can make frequent collection costly relative to the amount transferred, even when the position remains active.

Incentive emissions and range eligibility

Up to three reward streams can accompany a CLMM pool, with separate reward tokens and emission schedules. An in-range position participates in funded, active emissions without staking its NFT in a separate farm. Trading fees and incentives have different drivers: swaps generate fees, while a funded schedule distributes reward tokens over time. A pool can generate fees without offering incentives. Out-of-range positions stop accruing these rewards, and a reward schedule can end while trading continues.

Range concentration and holding exposure

Impermanent loss compares the position’s principal value with the value of holding the originally deposited token amounts. Swaps change the position’s inventory as the relative price moves. A rising base-token price progressively reduces the base-token amount within the range. Once the price passes the upper bound, the principal holds the quote token. Further base-token appreciation then benefits a holder of that token, while the inactive position retains its different inventory.

Concentration can increase that divergence from holding within the chosen price band. Fee income offsets it only to the extent of the fees actually earned; incentives contribute their own token value. A position can earn fees and still finish below the holding comparison. Separately, the remaining token can lose value after the position becomes single-sided. Range boundaries control trading participation, not the market value of the assets that remain.

Diagram: Range concentration and holding exposure (Raydium concentrated liquidity)

View image file

Can an existing position’s price bounds be changed?

An existing position keeps its original boundary ticks; adding liquidity does not move its price range. Changing a CLMM position’s price bounds requires opening a position with a different tick range. A range adjustment therefore involves removing liquidity from the old range and allocating tokens to the new one. The new deposit ratio follows the pool price at that time, so the available withdrawal amounts may not match it.

Partial liquidity removal leaves the old position open with less liquidity. Full removal can leave an empty position until accrued fees and rewards have been collected and the position is closed. Closing burns its NFT. These operations can form parts of a combined transaction or separate transactions, depending on the client. Repeated repositioning adds transaction costs and can also require swaps to obtain the new token mix.

Wide CLMM ranges and constant-product pools

A broad CLMM range reduces the likelihood of inactivity while retaining position-specific accounting and an NFT. It also spreads the deposit across more prices, reducing concentration near the trading price. A constant-product market maker provides liquidity across its price curve and represents pool shares with fungible liquidity-provider (LP) tokens. The liquidity providers ’ fee share accumulates in pool reserves. Broad price coverage therefore does not make the position structures interchangeable; the separate constant-product alternative is Raydium CPMM.

Key questions about Raydium concentrated liquidity

Why can a CLMM deposit fail after its amounts were previewed?

A CLMM deposit can fail when price movement changes the required token amounts beyond the transaction’s limits. The preview reflects an earlier pool state, while execution uses the state then available. A stale ratio, insufficient balance or restrictive maximum amount can block the deposit. A fresh preview helps distinguish changed amounts from account or token-compatibility problems.

Can I withdraw liquidity while my CLMM position is out of range?

An out-of-range position can still withdraw liquidity when the pool permits withdrawals and the token accounts allow transfers. Range inactivity stops participation in swaps; it does not itself lock the deposit. The withdrawn principal follows the position’s current token composition, which is single-sided outside the bounds. Accrued fees can add amounts of the other pool token.

Which account costs can appear when opening a CLMM position?

Opening a CLMM position can require SOL to fund new position accounts and missing tick-array accounts, alongside transaction fees. Existing shared tick arrays do not need the same initialization again. Closing eligible position accounts can return their rent deposits. Closing an individual position does not recover the funding held in shared tick-array accounts.

Does transferring a position NFT transfer control of its liquidity?

Transferring an unfrozen position NFT transfers control of the associated CLMM position to its new holder. New V2 positions have frozen NFT accounts when either pool token’s freeze authority matches the program’s restricted-issuer list. Those matching positions cannot transfer their NFTs. The original owner can still manage liquidity, collect fees and rewards and close the position. The freeze rule does not apply retroactively to earlier positions.

Are Token-2022 transfer fees separate from CLMM trading fees?

Token-2022 transfer fees belong to the token mint and apply separately from the pool’s trading fee. For supported mints with that extension, a liquidity deposit can credit the vault with less than the wallet sends. Withdrawals can also arrive net of a token transfer fee. Token-2022 compatibility remains subject to the extensions that the CLMM program supports.

Will a CLMM range deposit behave like a permanent limit order?

A CLMM range deposit can reverse its token conversion if the pool price crosses the range again. A single-sided position gradually exchanges tokens as trading moves through its bounds, and the converted tokens remain deposited until withdrawn. Raydium’s separate limit-order mechanism applies only to pools configured to support it.

Last updated