VaultSummary
Documentation for eth_defi.hyperliquid.vault.VaultSummary Python class.
- class VaultSummary
Bases:
objectSummary information for a Hyperliquid vault.
Contains both basic vault metadata and performance metrics from the stats-data endpoint.
Attributes summary
Vault display name
Vault's blockchain address
Vault manager/operator address
Total Value Locked (USD)
Whether deposits are closed
Vault relationship type (normal, child, parent)
Vault creation timestamp
Annual Percentage Rate (as decimal, e.g., 0.15 = 15%)
PNL history for daily period (list of decimal strings)
PNL history for weekly period (list of decimal strings)
PNL history for monthly period (list of decimal strings)
PNL history for all-time period (list of decimal strings)
Methods summary
__init__(name, vault_address, leader, tvl, ...)- name: str
Vault display name
- vault_address: eth_typing.evm.HexAddress
Vault’s blockchain address
- leader: eth_typing.evm.HexAddress
Vault manager/operator address
- tvl: decimal.Decimal
Total Value Locked (USD)
- is_closed: bool
Whether deposits are closed
- relationship_type: str
Vault relationship type (normal, child, parent)
- create_time: datetime.datetime | None
Vault creation timestamp
- __init__(name, vault_address, leader, tvl, is_closed, relationship_type, create_time=None, apr=None, pnl_day=None, pnl_week=None, pnl_month=None, pnl_all_time=None)
- Parameters
name (str) –
vault_address (eth_typing.evm.HexAddress) –
leader (eth_typing.evm.HexAddress) –
tvl (decimal.Decimal) –
is_closed (bool) –
relationship_type (str) –
create_time (datetime.datetime | None) –
apr (float | None) –
- Return type
None