Skip to main content

Earn Vaults

Earn interest on assets

Get Vault Information

Retrieve vault holdings, APY and exchange rate information.
View Code

Get User Position

Check a user’s share balance and token value for a specific vault.
View Code

Get All User Positions

Fetch a user’s share balances across all vaults they participate in.
View Code

Deposit to Vault

Generate deposit instructions to add tokens to a vault.
View Code

Withdraw from Vault

Generate withdrawal instructions to remove shares from a vault.
View Code

Get Vault Allocations

View how vault assets are allocated across different reserves with target weights.
View Code

Get Vault Incentives

Access comprehensive vault incentive data including farm and reserve rewards.
View Code

Get Vault Metrics History

Retrieve historical vault-level performance metrics including TVL, APY, and farm rewards APY over time.
View Code

Get User Position History

Retrieve historical performance metrics for a user’s position in a specific vault.
View Code

Get All User Position History

Fetch cumulative historical metrics for a user across all their vault positions.
View Code

Get User Vault Position History

Access historical metrics for a user’s position in a specific vault over time.
View Code

Get User P&L

Calculate a user’s profit and loss for their position in a vault.
View Code

Vault Revenue Share

Earn revenue by deploying vaults with custom fee structures. Set performance fees on profits and management fees on assets under management.
View Code