cURL
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": "<unknown>", "transaction": "<string>" }
Generate a transaction for removing liquidity from Meteora’s DLMM.
DLMM pool address
"BGm1tav58oGcsQJehL9WXBFXF7D27vZsKefj4xJKD5Y"
The percentage of liquidity to remove (0-100)
0 <= x <= 100
10
transaction
"transaction"
The public key of the account that executes the transaction
"6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
OK
Was this page helpful?