Gateway CLMM

Remove Liquidity From Clmm Position

Changed on

Remove SOME liquidity from a CLMM position (partial removal).

Example: connector: 'meteora' network: 'solana-mainnet-beta' position_address: '...' percentage_to_remove: 50 slippage_pct: 1 (optional; Orca only — other connectors ignore it) wallet_address: (optional)

Returns: Transaction hash

post/gateway/clmm/remove

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/gateway/clmm/remove
  • Auth
    HTTP basic

Request body

connectorstring required

CLMM connector (e.g., 'meteora', 'raydium', 'uniswap')

networkstring required

Network ID in 'chain-network' format (e.g., 'solana-mainnet-beta')

position_addressstring required

Position address to remove liquidity from

wallet_addressstring nullable

Wallet address (optional, uses default if not provided)

Response

Successful Response

unknown required

Changes