Skip to main content
Hyperliquid
Changes the selected leverage for a perpetual market. An assigned HIP-3 position may require asynchronous venue confirmation.

Endpoint

Request Body

action

Use hip3.executionPolicy from Market Metadata to distinguish assigned execution ("exclusive_subaccount_v1") from shared execution ("omnibus_v1"). HIP-3 markets using shared execution still fix leverage at the market maximum and reject leverage changes. The user wallet or an approved API wallet may sign. Sign the exact action using the same NotionalExchange domain as order placement.

Response

applied confirms a saved selection. On an assigned market without a current assignment, it preselects leverage for the next position. A selection made while a previously active assignment is closing also applies to the next assignment. pending means the request was recorded and still needs venue confirmation. Poll Isolated Operation Status with operationId. Market Trading State exposes the selected, observed, and pending leverage separately; a pending target is not confirmed leverage. Leverage changes can fail when margin is insufficient or an incompatible operation is already in progress. Check isolated.permissions.canChangeLeverage for assigned markets. Cross-market leverage reductions require enough margin for both the position and exposure-increasing open orders.