๐Ÿ“– Guides

Hyperliquid Unified Account: Balances Total vs Equity and Snapshot Timing in Issue 346

โš ๏ธ Disclosure: Some links on this page are affiliate links. If you sign up through them, I may earn a commission โ€” at no extra cost to you.
GitHub issue 346 is an open documentation-clarification request about Hyperliquid unified account API fields. As of 2026-11-27, the issue is listed as open, and the provided issue text contains no maintainer answer. It asks for clarification on three related points: the meaning of balances[].total, whether a total-equity field exists, and whether spotClearinghouseState and clearinghouseState have a documented snapshot or consistency relationship.

The issue is framed as a read-only API/schema question, not a request for trading advice.

What the issue asks

  1. What does balances[].total mean for a canonical collateral token?
The issue asks whether balances[].total represents a cash or token balance, or whether it already includes unrealized cross-perpetual PnL.
  1. Is there a documented total-equity field?
The issue asks whether a documented field or combination of fields represents same-collateral total equity, including how isolated positions are treated. It also asks that the documentation explicitly state if no such total-equity field is provided.
  1. Do the spot and perp clearinghouse states share a snapshot timestamp or consistency guarantee?
The issue asks whether there is a supported server timestamp, snapshot/version identifier, or documented consistency relationship between spotClearinghouseState and clearinghouseState. It notes that the spot response shown in the issue has no timestamp. If no atomic-snapshot guarantee exists, the issue asks that the documentation distinguish local receipt time from a server as-of time and clarify that the two responses are not an atomic snapshot.

What is not confirmed by the issue

The issue does not confirm that balances[].total includes unrealized cross-perpetual PnL. It does not identify a documented total-equity field. It does not confirm that spotClearinghouseState and clearinghouseState share a server timestamp, snapshot version, or atomic-snapshot guarantee.

Because the issue is unresolved in the provided source, the safe reading is to treat the field meanings and snapshot timing as open documentation questions rather than established API behavior.

Practical reading for API consumers

A conservative approach is to keep balances, equity, and observation timing separate.

๐Ÿ’ก Hyperliquid

Like what you're reading? Try it yourself โ€” this link supports ChartedTrader at no cost to you.

Create a Hyperliquid account; referrals can receive a 4% fee discount on the first $25M of volume per account, excluding Vaults and sub-accounts. โ†’
๐ŸŽ You receive: 4% fee discount on first $25M volume ยท per account, lifetime

Source

Hyperliquid Python SDK GitHub issue 346: Docs: unifiedAccount collateral balance vs equity and snapshot timing

Affiliate disclosure

If you create an account through the Hyperliquid link, we may earn a referral commission. Referrals can receive a 4% fee discount on the first $25M of volume per account, excluding Vaults and sub-accounts.

Continue with Hyperliquid

Browse the Hyperliquid guide hub for the complete user journey.

Related: How to Create a Hyperliquid User Vault and Become a Legacy Vault Leader

๐Ÿงฎ Free Hyperliquid calculators

Fee Calculator โ†’
Hyperliquid vs centralized exchange fee comparison
PnL & Liquidation โ†’
Perp PnL + liquidation price
Position Size โ†’
Risk-aware position sizing for HL perps
Hyperliquid

Ready to get started? Use the link below โ€” it helps support ChartedTrader at no cost to you.

Create a Hyperliquid account; referrals can receive a 4% fee discount on the first $25M of volume per account, excluding Vaults and sub-accounts. โ†’
๐ŸŽ You receive: 4% fee discount on first $25M volume ยท per account, lifetime
๐Ÿ“ˆ

About the author

I'm a systematic trader running live strategies on IB (USDJPY momentum) and Hyperliquid (crypto perps). Questions? Reach out.

๐Ÿ“š Related Articles

๐Ÿ”Œ
API & Developers

Hyperliquid WebSocket Trades and Candles: Snapshot, Dedupe Key, and Finality

Use the official WsTrade recommendation (block_time, coin, tid) for global uniqueness, and treat candle pushes as mutable interval state.

November 15, 2026 โฑ 4 min read
๐Ÿ”ง
Troubleshooting & Fixes

Hyperliquid Spot Meta Array Mismatch Fix (2026)

Hyperliquid spotMetaAndAssetCtxs returns 320 assets while your code expects 711? Here is why the array length mismatch happens and how to make the Python SDK resilient.

August 24, 2026 โฑ 11 min read
๐Ÿฆ
Brokers & Exchanges

How to Trade the Magnificent 7 on OKX: Equity Perpetual Swaps Step by Step (2026)

OKX launched 23 equity perpetual swaps on March 24, 2026 โ€” including all Magnificent 7 stocks. This guide walks through every step: finding the contracts, using crypto as collateral, setting leverage, and managing positions 24/7 with Auto Earn yield still running.

March 25, 2026 โฑ 13 min read