POST
/
v0
/
liquidity
/
{strategyAddress}
/
withdraw
curl --request POST \
  --url https://kamino.dial.to/api/v0/liquidity/{strategyAddress}/withdraw \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "<any>",
  "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
}'
{
  "type": "<any>",
  "transaction": "<string>"
}

Path Parameters

strategyAddress
string
required

Strategy public key

Examples:

"BLP7UHUg1yNry94Qk3sM8pAfEyDhTZirwFghw9DoBjn7"

Query Parameters

percentage
integer
required

The percentage of shares to withdraw

Required range: 1 <= x <= 100

Body

application/json

Response

200 - application/json

OK

The response is of type object.