hl_create_outcome_order
Create an order on a HyperLiquid outcome (HIP-3) market using structured params or a pre-built computedData payload.
Instructions
Create an order on a HyperLiquid outcome (HIP-3) market. Pass structured params (apiKey, walletAddress=control address, sessionPrivateKey, outcomeId, coin like "#1010", isBuy, price 0-1, size) and the SDK builds the encrypted payload. A pre-built computedData is also accepted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dex | No | ||
| coin | No | Outcome asset id, e.g. "#1010" (outcome 101 Yes) | |
| size | No | Order size in contracts | |
| isBuy | No | ||
| price | No | Limit price in [0,1]; pass "0" for market | |
| apiKey | No | ||
| isMarket | No | ||
| outcomeId | No | ||
| reduceOnly | No | ||
| computedData | No | ||
| walletAddress | No | CONTROL wallet address from sign-in | |
| sessionPrivateKey | No |