VaultInfo
Documentation for eth_defi.hyperliquid.vault.VaultInfo Python class.
- class VaultInfo
Bases:
objectDetailed information about a Hyperliquid vault.
This dataclass represents the response from the
vaultDetailsAPI endpoint, containing comprehensive vault metadata, follower information, and portfolio history.Attributes summary
Vault display name
Vault's blockchain address
Vault manager/operator address
Vault description text
List of vault followers (depositors)
Portfolio history by time period
Maximum distributable amount (USD)
Maximum withdrawable amount (USD)
Whether the vault has been permanently closed and is no longer operational.
Whether the vault is currently accepting new deposits from followers.
Vault relationship type (normal, child, parent)
Commission rate for the vault leader (as decimal, e.g., 0.1 = 10%)
Fraction of vault capital owned by the leader (e.g.
Leader commission value from the
vaultDetailsAPIleaderCommissionfield.Parent vault address if this is a child vault
Methods summary
__init__(name, vault_address, leader, ...[, ...])- name: str
Vault display name
- vault_address: eth_typing.evm.HexAddress
Vault’s blockchain address
- leader: eth_typing.evm.HexAddress
Vault manager/operator address
- description: str
Vault description text
- followers: list[eth_defi.hyperliquid.vault.VaultFollower]
List of vault followers (depositors)
- portfolio: dict[str, eth_defi.hyperliquid.vault.PortfolioHistory]
Portfolio history by time period
- max_distributable: decimal.Decimal
Maximum distributable amount (USD)
- max_withdrawable: decimal.Decimal
Maximum withdrawable amount (USD)
- is_closed: bool
Whether the vault has been permanently closed and is no longer operational.
From the Hyperliquid
vaultDetailsAPIisClosedfield.See https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint
- allow_deposits: bool
Whether the vault is currently accepting new deposits from followers.
A vault can be operational (
is_closed=False) but still have deposits disabled (allow_deposits=False) — the leader controls this independently.From the Hyperliquid
vaultDetailsAPIallowDepositsfield.See https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint
- relationship_type: str
Vault relationship type (normal, child, parent)
- leader_fraction: float | None
Fraction of vault capital owned by the leader (e.g. 0.05 = 5%).
Hyperliquid requires vault leaders to maintain at least 5% of total vault capital (verified 2026-03-09). From the
vaultDetailsAPIleaderFractionfield.Source: https://hyperliquid.gitbook.io/hyperliquid-docs/hypercore/vaults/for-vault-leaders-legacy
- leader_commission: float | None
Leader commission value from the
vaultDetailsAPIleaderCommissionfield.The exact semantics of this field are not yet fully understood — it may represent accumulated commission in USD or an alternative commission metric.
- parent: Optional[eth_typing.evm.HexAddress]
Parent vault address if this is a child vault
- __init__(name, vault_address, leader, description, followers, portfolio, max_distributable, max_withdrawable, is_closed, allow_deposits, relationship_type, commission_rate=None, leader_fraction=None, leader_commission=None, parent=None)
- Parameters
name (str) –
vault_address (eth_typing.evm.HexAddress) –
leader (eth_typing.evm.HexAddress) –
description (str) –
followers (list[eth_defi.hyperliquid.vault.VaultFollower]) –
portfolio (dict[str, eth_defi.hyperliquid.vault.PortfolioHistory]) –
max_distributable (decimal.Decimal) –
max_withdrawable (decimal.Decimal) –
is_closed (bool) –
allow_deposits (bool) –
relationship_type (str) –
commission_rate (float | None) –
leader_fraction (float | None) –
leader_commission (float | None) –
parent (Optional[eth_typing.evm.HexAddress]) –
- Return type
None