Hyperliquid Market Order logo

Catalog action Hyperliquid wallet

Place a market order on Hyperliquid perpetual DEX. Executes immediately at current market price with configurable slippage protection (default 1%). Ideal for: instant trade execution, momentum entries, and time-sensitive strategies.

This action can require a wallet connector, gas, token movement, or an external side effect. Test with simulation or a controlled amount before using it in a live workflow.

At a Glance

FieldValue
Action IDhyperliquid-market-order
CategoryHyperliquid
Connectorwallet
Requires gasNo
Funds movementNone declared
Tagshyperliquid, perps, order, trade, market, defi

Payload Schema

FieldTypeRequiredDescription
dexstringNoHIP-3 DEX name for TradFi markets. Omit for standard crypto perps. xyz = trade.xyz (stocks, indices, commodities), flx = flx.finance, vntl = vntl.exchange
coinstringYesAsset symbol (e.g., BTC, ETH for crypto; TSLA, SP500 for HIP-3 DEX markets)
sidestringYesOrder direction
sizestringYesOrder size in asset units (e.g., '0.1' for 0.1 BTC) or USD amount when sizeUnit is 'usd'. Total order value must be at least $10.
sizeUnitstringNoHow to interpret the size field. 'asset' (default): size is in asset units (e.g., 0.1 BTC). 'usd': size is a USD amount converted to asset units at execution time using ceil rounding.
slippageBpsnumberNoMaximum acceptable slippage in basis points (default: 100 = 1%). For buys, the limit price is set above mid; for sells, below mid.
reduceOnlybooleanNoIf true, order can only reduce an existing position
cloidstringNoOptional client order ID (0x-prefixed hex, up to 16 bytes). Auto-generated if omitted.

Result Schema

FieldTypeRequiredDescription
statusstringYesOrder outcome: filled (fully matched), partially_filled (IOC remainder cancelled)
oidnumberNoHyperliquid order ID
filledSizestringNoTotal filled size
avgPricestringNoAverage fill price. On rare reconciliation paths (response lost in transit) this reflects the order's limit price, not the actual execution price.
coinstringNoAsset symbol
sidestringNoOrder side (buy/sell)
requestedSizestringNoOriginally requested size
midPricestringNoMid price at time of order
limitPricestringNoEffective limit price after slippage
cloidstringNoClient order id attached to this order (0x + 32 hex). Use to cancel or reconcile.
requestedSizeUsdstringNoOriginal USD amount requested (only present when sizeUnit was 'usd')
convertedSizestringNoAsset size after USD conversion (only present when sizeUnit was 'usd')

Examples

json
{ "type": "hyperliquid-market-order", "payload": { "coin": "example-coin", "side": "buy", "size": "example-size" }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.