POST
/
v0
/
pools
/
positions
/
{positionAddress}
/
remove-liquidity
Pools Remove Liquidity
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": "<any>",
  "transaction": "<string>"
}

Path Parameters

positionAddress
string
default:5tvCtzYWEiB4j3zunXoZmCn6DsviNeibt1MRZrCDXnKH
required

The position address

Example:

"5tvCtzYWEiB4j3zunXoZmCn6DsviNeibt1MRZrCDXnKH"

Query Parameters

amount
number
default:100

The amount to remove. Human readable value, e.g. 100 USDC

Required range: x > 0
Example:

100

percentage
integer

The percentage of position liquidity to remove

Required range: 0 < x <= 100

Body

application/json

Response

200 - application/json

OK

The response is of type object.