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)
Permanent closure from
isClosed, or unknown when the flag is omitted.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: Optional[bool]
Permanent closure from
isClosed, or unknown when the flag is omitted.
- relationship_type: str
Vault relationship type (normal, child, parent)
- create_time: Optional[datetime.datetime]
Vault creation timestamp
- apr: Optional[float]
Annual Percentage Rate (as decimal, e.g., 0.15 = 15%)
- __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) –
relationship_type (str) –
create_time (Optional[datetime.datetime]) –
- Return type
None