- Deposit: add assets to a vault
- Withdraw: take them back out
- Get Balance: what a user holds
- Get APY: what the vault is yielding, net of fees
- Rescue: pull funds out of a strategy in an emergency
balance returns underlyingBalance, the shares already converted to the vault’s
asset, so most integrations never handle the share count directly. The ones that do, because
dfTokens are transferable like any other token, have
a guide.
The client setup is in the Quickstart. Vault addresses are on Contract Deployments.
To call the vault contract yourself rather than going through the API, see Direct Contract Calls.
Operate your vault from the Console
Every operation on this page is also a click at console.defindex.io: deposit and withdraw with a connected wallet, and rebalance, rescue, or upgrade from the vault’s Admin tab.