Vault Shareholders

private/request_vault_deposit

Submits a signed deposit action from the user's source subaccount and enqueues it in the vault's pending-deposit queue for the curator to settle. Inputs are the target vault subaccount, the deposit asset, and the amount as a decimal string. Returns an acknowledgement with the queued request; requires the user-deposit permission.

post/private/request_vault_deposit

Request

  • Base URL: https://api.derive.xyz/v3
  • URL: https://api.derive.xyz/v3/private/request_vault_deposit
  • Auth: none declared

Request body

amountstring decimal required

Deposit amount in the vault's deposit asset, as a decimal string (e.g. "1").

deposit_spot_assetstring required

20-byte Ethereum address as a 0x-prefixed lowercase hex string.

noncestring required
signaturestring required

0x-prefixed hex of the 65-byte EOA signature.

signature_expiry_secinteger required
signerstring required

20-byte Ethereum address as a 0x-prefixed lowercase hex string.

subaccount_idinteger required

The subaccount the action is signed on; which subaccount applies depends on the specific method — see that method's reference.

vault_subaccount_idinteger required

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.