Hyperliquid HIP-3 icon

Hyperliquid HIP-3

Trade builder-deployed HIP-3 perpetual assets on Hyperliquid (e.g. xyz:XYZ100)

Position → Update Leverage

AI-generated

Summary

Set the leverage and margin mode for a HIP-3 perpetual asset on the DEX configured in the node credentials. The node adds the DEX prefix to the asset symbol and sends a signed leverage update to Hyperliquid.

Inputs

  • Asset Symbol (required) — Asset symbol without the DEX prefix, such as XYZ100; the DEX name comes from credentials.
  • Leverage (required) — Target leverage from 1 to 100; the asset may have a lower maximum, so check its metadata.
  • Margin Mode (required) — Choose Isolated or Cross. Assets marked as isolated-only reject Cross mode.

Output shape

One item per input item, containing the exchange response as JSON.

Requires valid Hyperliquid HIP-3 credentials, including a DEX name and signing key. Unknown asset symbols and unsupported Cross mode produce errors; with Continue On Fail enabled, the item's JSON contains an error field.

Links

Discussion