Account Types
Hyperliquid supports multiple account types that determine how margin and balances are managed:| Account Type | Description |
|---|---|
standard | Isolated quote assets per provider operator. Each HIP-3 provider maintains a separate balance. |
dexAbstraction | Like-for-like quote assets are unified across HIP-3 providers. For example, the default provider ('') and a HIP-3 provider ('xyz') both use USDC, so a single USDC perps balance covers both. |
unifiedAccount | Spot and perps balances are further unified per quote asset across like-asset HIP-3 providers. Spot USDC can be used for perps on both '' and 'xyz'. Same applies to other quote assets like USDH or USDN. |
portfolioMargin | Portfolio margin with cross-asset margining. |
Backend Behavior
The LI.FI Perps API automatically upgrades accounts from
standard or dexAbstraction to unifiedAccount during the prerequisites flow. portfolioMargin accounts are left as-is.Account Configuration
Theconfig object returned by getAccount() contains Hyperliquid-specific account state:
| Config Key | Fields | Description |
|---|---|---|
abstractionStatus | string | Current abstraction mode (unifiedAccount, portfolioMargin, dexAbstraction, or null) |
agents | array | Approved extra agents for this account |
builderFeeApproval | builderAddress, maxFeeRate, approved | Builder fee approval status (required for placing orders via LI.FI) |
The SDK validates all config requirements automatically. These fields are useful for displaying account status in your UI.