POST
/
v0
/
vaults
/
strategy-vaults
/
{vaultId}
/
withdraw
Strategy Vault Withdraw
curl --request POST \
  --url https://drift.dial.to/api/v0/vaults/strategy-vaults/{vaultId}/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"

Body

application/json
type
enum<string>
default:transaction
required
Available options:
transaction
Example:

"transaction"

account
string
default:6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176
required

The public key of the account that executes the transaction

Example:

"6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"

Response

200 - application/json

OK

type
any
required
transaction
string
required