POST
/
v0
/
dlmm
/
{dlmmPool}
/
remove-liquidity
DLMM Remove Liquidity
curl --request POST \
  --url https://meteora.dial.to/api/v0/dlmm/{dlmmPool}/remove-liquidity \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "transaction",
  "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
}'
{
  "type": "<any>",
  "transaction": "<string>"
}

Path Parameters

dlmmPool
string
default:BGm1tav58oGcsQJehL9WXBFXF7D27vZsKefj4xJKD5Y
required

DLMM pool address

Example:

"BGm1tav58oGcsQJehL9WXBFXF7D27vZsKefj4xJKD5Y"

Query Parameters

percentage
number
default:50
required

The percentage of liquidity to remove (0-100)

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

50

Body

application/json

Response

200 - application/json

OK

The response is of type object.