cURL
curl --request POST \ --url https://orca.dial.to/api/v0/pools/positions/{positionAddress}/close-position \ --header 'Content-Type: application/json' \ --data ' { "type": "transaction", "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176" } '
{ "type": "<unknown>", "transaction": "<string>" }
Close a position and withdraw all liquidity.
The position address
transaction
The public key of the account that executes the transaction
OK
Was this page helpful?