SolstackDocs

Tools

Remove Liquidity

Every LP token and liquidity position in your wallet on Raydium, Meteora, Orca and PumpSwap, found for you, and a withdrawal of any share from any of them. Free.

Open Remove Liquidity ↗Remove Liquidity on Solana overview

Step by step

  1. Step 1Connect walletMainnet or devnet. The scan reads this wallet's LP tokens and positions.
  2. Step 2Your liquidityEvery position on seven pool types, with what it holds now, its fees and whether it's in range.
  3. Step 3Share and closeWithdraw 1% to 100%. At 100%, choose whether to close it and get its rent back.
  4. Step 4Sign onceOne transaction withdraws to your wallet. No Solstack fee.
  5. Step 5Back in your walletBoth tokens, plus any fees claimed, with SOL unwrapped.

What the scan finds

Connect a wallet and Solstack reads its token accounts once, then asks every DEX which of them are its LP tokens or position NFTs. Meteora DLMM positions aren't NFTs, so they're read from the program by owner. Positions are listed by value in USD on mainnet, with chips to filter by DEX, an In range or Out of range tag on concentrated positions, and a Locked tag on ones the pool won't release yet.

Raydium CPMM, Raydium AMM v4, PumpSwapLP tokens, matched to their pool. What they pay out is your share of the pool's reserves.
Raydium CLMM, Orca WhirlpoolPosition NFTs, legacy Token program and Token-2022 alike, with their range.
Meteora DAMM v2Position NFTs (Token-2022).
Meteora DLMMPosition accounts owned by your wallet, with their bin range.

Choosing what to withdraw

Pick 25%, 50%, 75% or 100%, or any share with the slider. The preview shows what the position holds now, its unclaimed fees where the pool reports them, and what this share pays out. The withdrawal sets the least it will accept of each token, by your slippage, so a price that moves too far makes it fail instead of paying out less.

Fees and closing

Raydium CPMM, Raydium AMM v4, PumpSwapFees build up inside the pool, so your share pays them out. At 100% the empty LP token account can be closed for its rent, about 0.0015 SOL.
Raydium CLMM, Orca WhirlpoolEvery withdrawal also collects the position's fees and rewards. Closing at 100% burns the NFT and returns the position's rent: about 0.0067 SOL on Raydium, 0.0084 on Orca.
Meteora DAMM v2Fees are collected when you withdraw 100% and close, which also returns about 0.0072 SOL of rent. A partial withdrawal leaves them in the position.
Meteora DLMMFees and rewards are collected when you withdraw 100% and close, which also returns about 0.042 SOL of rent. A partial withdrawal leaves them in the position. A wide position can take two transactions.

What it costs

No Solstack fee: getting your own liquidity back is free, like reclaiming rent or claiming creator fees. The network fee is about 0.000005 SOL. Closing at 100% gives back the rent the LP account or position held, from about 0.0015 SOL to 0.042 SOL for a DLMM position.

Troubleshooting

My LP isn't listedIt may be burned (pump.fun burns its graduation LP), held by a locker until it unlocks, inside an Orca position bundle, or on another DEX. Check you're on the right network.
Marked LockedA lock holds its liquidity. Raydium Burn & Earn and Orca locks are permanent. A Meteora DLMM lock or DAMM v2 vesting releases on the date shown, and nothing can be withdrawn before then.
Out of rangeThe price has left the position's range, so it holds only one of the two tokens. Withdrawing pays out that token.
Slippage exceededThe price moved past your slippage before it landed. Nothing was withdrawn: try again, or raise the slippage.
Your wallet signs the withdrawal and its keys never leave it. Everything comes straight back to your wallet. To deposit again, use Add Liquidity.

FAQ

What does it cost?

Nothing from Solstack. You pay only the network fee. Closing at 100% gives back the rent it held, from about 0.0015 SOL for an LP token account to 0.042 SOL for a DLMM position.

Which positions does it find?

Every LP token and liquidity position in the connected wallet on Raydium CPMM, AMM v4 and CLMM, Meteora DLMM and DAMM v2, Orca Whirlpools and PumpSwap. You don't need to paste a pool.

Can I withdraw part of it?

Yes, any share from 1% to 100%.

What happens to the fees a position earned?

LP tokens (Raydium CPMM, AMM v4, PumpSwap) already include them: fees build up inside the pool, so your share pays them out. Raydium CLMM and Orca collect a position's fees and rewards with every withdrawal. Meteora DLMM and DAMM v2 collect them when you withdraw 100% and close; a partial withdrawal leaves them in the position.

What does closing do?

At 100%, an LP token account that's now empty is closed and its rent comes back. A position is emptied, its fees claimed and the position closed, which refunds its rent. Leave it open to add to the same range later.

Why is a position marked Locked?

Some of its liquidity is locked or still vesting, so the pool won't let it out yet. Raydium Burn & Earn and Orca locks are permanent. Meteora locks and vesting release on a date, shown on the position.

Does it work on devnet?

Yes, for positions on devnet.

NextGrid Trading Bot →
Your keys stay in your wallet · every job starts with your approval · fees shown before you sign← Back to solstack.xyz