Skip to main content
POST
Build EIP-712 data the main Hyperliquid wallet must sign to change the abstraction mode

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
abstractionMode
enum<string>
required

Target Hyperliquid account abstraction mode to set: disabled (perps-only), unifiedAccount and portfolioMargin (spot+perp unified collateral), or dexAbstraction.

Available options:
disabled,
unifiedAccount,
portfolioMargin,
dexAbstraction

Response

200 - application/json
pendingData
object
required

Opaque payload to pass back to the execute endpoint.

signData
object
required

EIP-712 typed data to sign with the main wallet