POST
/
v0
/
vaults
/
strategy-vaults
/
{vaultId}
/
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": "<any>",
  "account": "DUCKmhqoQi26MJ4yWbogEHqN1gs8sZajmBsg9TGnNXq"
}'
{
  "type": "<any>",
  "transaction": "<string>"
}

Path Parameters

vaultId
string
required

ID of the strategy vault

Examples:

"EuSLjg23BrtwYAk1t4TFe5ArYSXCVXLBqrHRBfWQiTeJ"

Query Parameters

percentage
integer

The percentage of funds to use

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

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

Required range: x >= 0

Body

application/json

Response

200 - application/json

OK

The response is of type object.