秋田预测市场 · Discord 审计

用户询问HyperEVM投资组合保证金账户权益读取接口

2026-06-28 · Hyperliquid · 1 条相关讨论

JamesBurnsBacon 2026-06-28 10:11:51

For an account in Portfolio Margin mode, the spotBalance (0x0801) and accountMarginSummary (0x080F) read precompiles return zero even though the account holds USDC/spot (visible via REST spotClearinghouseState). Which read precompile returns a PM account's total portfolio equity / account value from within a HyperEVM contract? Is reading PM equity on-chain supported in any way?

For an account in Portfolio Margin mode, the spotBalance (0x0801) and accountMarginSummary (0x080F) read precompiles return zero even though the account holds USDC/spot (visible via REST spotClearinghouseState). Which read precompile returns a PM account's total portfolio equity / account value from within a HyperEVM contract? Is reading PM equity on-chain supported in any way?