cURL
curl --request POST \ --url https://drift.dial.to/api/v0/vaults/strategy-vaults/{vaultId}/deposit \ --header 'Content-Type: application/json' \ --data ' { "type": "transaction", "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176" } '
{ "type": "<unknown>", "transaction": "<string>" }
Deposit to a strategy vault
ID of the strategy vault
The percentage of funds to use
0 <= x <= 100
The amount to use. Human readable value, e.g. 0.1 SOL
x >= 0
transaction
The public key of the account that executes the transaction
OK
Was this page helpful?