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