Skip to main content
POST
/
v0
/
clmm
/
{poolId}
/
remove-liquidity
Remove Liquidity
curl --request POST \
  --url https://raydium.dial.to/api/v0/clmm/{poolId}/remove-liquidity \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "transaction",
  "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
}
'
{
  "type": "<unknown>",
  "transaction": "<string>"
}

Path Parameters

poolId
string
default:8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj
required

The raydium Concentrated Liquidity Pool ID

Query Parameters

percentage
integer
default:50
required

The percentage of liquidity to remove

Required range: 0 <= x <= 100
positionAddress
string

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

Body

application/json
type
enum<string>
default:transaction
required
Available options:
transaction
account
string
default:6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176
required

The public key of the account that executes the transaction

Response

200 - application/json

OK

type
any
required
transaction
string
required