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": "<any>", "transaction": "<string>" }
Generate a transaction for closing a position and withdrawing all liquidity from an Orca’s Pool.
The position address
"5tvCtzYWEiB4j3zunXoZmCn6DsviNeibt1MRZrCDXnKH"
OK
The response is of type object.
object
Was this page helpful?