Method Name
public/get_vault_statistics
public/get_vault_statisticsGets all the latest vault shareRate, totalSupply and TVL values for all vaults.
For data on shares across chains, use public/get_vault_assets.
Parameters
Response
id string or integer required |
| result array of objects required |
|
result[].
base_value
string required The value of the vault's token against the base currency. Ex: rswETHC vs rswETH |
|
result[].
block_number
integer required The Derive chain block number |
|
result[].
block_timestamp
integer required Timestamp of the Derive chain block number |
|
result[].
subaccount_value_at_last_trade
string or null required Will return None before vault creates subaccount or if no trades found. |
|
result[].
total_supply
string required Total supply of the vault's token on Derive chain |
|
result[].
underlying_value
string or null required The value of the vault's token against the underlying currency. Ex: rswETHC vs ETH |
|
result[].
usd_tvl
string required Total USD TVL of the vault |
|
result[].
usd_value
string required The value of the vault's token against USD |
|
result[].
vault_name
string required Name of the vault |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}