POST
/
v0
/
vaults
/
strategy-vaults
/
{vaultId}
/
request-withdraw
Strategy Vault Request Withdraw
curl --request POST \
  --url https://drift.dial.to/api/v0/vaults/strategy-vaults/{vaultId}/request-withdraw \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "transaction",
  "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
}'
{
  "type": "<any>",
  "transaction": "<string>"
}

Path Parameters

vaultId
string
default:6L2VV9ngPXfg9aXLuVTGdvYmekkPhWDaEZ3BGB6nfLKp
required

ID of the strategy vault

Example:

"6L2VV9ngPXfg9aXLuVTGdvYmekkPhWDaEZ3BGB6nfLKp"

Query Parameters

percentage
integer

The percentage of funds to use

Required range: 0 <= x <= 100
amount
number
default:0.1

The amount to use. Human readable value, e.g. 0.1 SOL

Required range: x >= 0
Example:

0.1

Body

application/json

Response

200 - application/json

OK

The response is of type object.