raydium-pools_removeLiquidity
Remove liquidity from a Raydium pool using wallet and pool ID. Optionally specify LP amount, percentage, or position NFT.
Instructions
Remove liquidity from a Raydium pool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolId | Yes | Solana public key (base58) | |
| wallet | Yes | Solana public key (base58) | |
| lpAmount | No | Raw token amount (smallest unit) | |
| percentage | No | Percentage of liquidity to remove | |
| positionNft | No | Token mint address (base58) |