Skip to main content
POST
userAbstraction | Hyperliquid Info API

Credit Cost

1 per call

Processing

Realtime
The Hyperliquid info endpoint with type: "userAbstraction" is used to fetch a user’s account-abstraction mode.
Estimate your monthly cost for this API using the Pricing Calculator.
  • Wire-equal to POST api.hyperliquid.xyz/info with {"type": "userAbstraction", "user": "..."}.
  • The response body is a bare JSON string (for example "disabled"), not an object - parse it as a scalar.
  • Values seen in production are disabled and unifiedAccount; the wider native enum also includes portfolioMargin, default, and the legacy dexAbstraction.
Returns the account-abstraction mode configured for a wallet. The response is a single JSON string rather than an object: disabled means the account keeps separate perp and spot balances, while unifiedAccount means a single balance per asset is shared across all DEXes with cross-margin positions sharing collateral. User-keyed.

Endpoint

Request

string
required
Always "userAbstraction".
string
required
The wallet address (lowercase 0x-prefixed hex).

Example

Response

The body is a bare JSON string - not an object - naming the account-abstraction mode.

Field descriptions

string
Account-abstraction mode. One of:
  • disabled - abstraction disabled; separate perp and spot balances.
  • unifiedAccount - single balance per asset across all DEXes; cross-margin positions share collateral.
  • portfolioMargin - single portfolio unifying eligible assets with borrowing / LTV.
  • default - default mode.
  • dexAbstraction - DEX abstraction mode (legacy, being discontinued).
Last reviewed: 2026-07-24