Subscription Body
Response Fields
Fields within
data.spotState.Each item is a spot balance or prediction share. The array can contain both.
Spot balances
Spot balances
Net owned quantity across account scopes, including segregated funds and commitments, after debt. USDC includes position PnL and isolated equity; can be negative.
null when this asset’s ownership cannot be valued.Net ownership minus nonnegative available margin for USDC, available buying power for pUSD, or available cash for other spot assets. In asset units; can be negative, or
null when ownership or capacity is unavailable.Gross cross cash before debt, in the asset’s units. Excludes isolated equity and committed funds.
Fraction of this asset’s USD value recognized as collateral;
"0" means no collateral value and "0.9" means 90%.Prediction shares
Prediction shares
Canonical unprefixed AssetId of this prediction outcome.
Cost basis in USDC for Hyperliquid or pUSD for Polymarket;
null when unknown. From protocol config version 5, a Polymarket split books half of its pUSD amount on each leg; legs of earlier splits stay null.Hyperliquid: numeric question ID. Polymarket: bytes32 question ID.
null when unavailable.