Skip to main content
How to deposit funds into a DeFindex vault through the API. To call the contract directly instead, see Vault Methods.

Overview

Deposits allow you to add assets to a vault, with the option to automatically invest them into the vault’s strategies or keep them as idle funds. All deposit operations require specifying amounts, user addresses, and slippage parameters.

Implementation

Request Parameters

Return Values

A deposit returns:
  • Deposited amounts: The actual amounts deposited for each asset
  • Vault shares minted: Number of vault shares issued to the depositor
  • Investment allocations (if invest = true): Details of how funds were allocated across strategies