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). Total order value (size × market price) must be at least $10.
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 for tracking (hex string, max 16 bytes)

Result Schema

FieldTypeRequiredDescription
statusstringYesOrder outcome: filled (fully matched), partially_filled (IOC remainder cancelled)
oidnumberNoHyperliquid order ID
filledSizestringNoTotal filled size
avgPricestringNoAverage fill price
coinstringNoAsset symbol
sidestringNoOrder side (buy/sell)
requestedSizestringNoOriginally requested size
midPricestringNoMid price at time of order
limitPricestringNoEffective limit price after slippage

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.

Ask a question... ⌘I