cURL
curl --request POST \ --url https://orca.dial.to/api/v0/pools/positions/{positionAddress}/remove-liquidity \ --header 'Content-Type: application/json' \ --data ' { "type": "transaction", "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176" } '
{ "type": "<unknown>", "transaction": "<string>" }
Remove liquidity from a position.
The position address
The amount to remove. Human readable value, e.g. 100 USDC
The percentage of position liquidity to remove
-9007199254740991 < x <= 100
transaction
The public key of the account that executes the transaction
OK
Was this page helpful?