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>" }
Generate a transaction for closing a position and withdrawing all liquidity from an Orca’s Pool.
The position address
"5tvCtzYWEiB4j3zunXoZmCn6DsviNeibt1MRZrCDXnKH"
transaction
"transaction"
The public key of the account that executes the transaction
"6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
OK
Was this page helpful?