Vault Info
You can retrieve key vault information by accessing the following API
https://merv2-api.mercurial.finance/vault_info
Key information that can be retrieved:
Data | Description |
---|---|
token_address | Token mint address of the token in the vault e.g. SOL, USDC or USDT |
total_amount_with_profit | Total liquidity in the vault including the earnings from the lending platform. |
token_amount | Total amount of tokens in the vault |
earned_amount | Total commission earned by the vault (5% of profits) |
virtual_price | Price of your LP token in relation to the original token in the vault. |
closest_apy | Calculation of APY across a 1 hour period |
average_apy | Calculation of APY across a 24 hour period |
long_apy | Calculation of APY across a 7 day period |
usd_rate | Price of token in vault in relationship to USD |
strategies | An array of lending platform pools that are integrated with the vault |
Key data in a strategy object
Data | Desciption |
---|---|
pubkey | Public key for the lending platform pool integrated with the vault |
reserve | The amount of liquidity that is currently in the lending pool available for withdrawal |
strategy_type | Type of strategy used i.e. |
strategy_name | Name of the lending pool |
liquidity | Total liquidity allocated to the lending pool |
reward | Total rewards (LM) earned from the lending pool. |
Last modified 11mo ago