POST
/
v0
/
clmm
/
{poolId}
/
remove-liquidity
curl --request POST \
  --url https://raydium.dial.to/api/v0/clmm/{poolId}/remove-liquidity \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "<any>",
  "account": "11111111111111111111111111111111"
}'
{
  "type": "<any>",
  "transaction": "<string>"
}

Path Parameters

poolId
string
required

The raydium Concentrated Liquidity Pool ID

Examples:

"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj"

Query Parameters

percentage
integer
required

The percentage of liquidity to remove

Required range: 0 <= x <= 100
Examples:

50

positionAddress
string

The address of the position to remove liquidity from. If not provided, first available position will be used.

Body

application/json

Response

200 - application/json

OK

The response is of type object.