Skip to main content
The order adapter uses Hyperliquid’s response shapes. Inspect every batch entry, including when the top-level status is ok.
The first entry succeeded and the second failed. A modification rejected during validation leaves its original order open. If a replacement was accepted and then canceled, filled, or replaced before the reply, its entry reports Order no longer resting. Query orderStatus by client ID before deciding what to send next. Successful cancels return "success" in the corresponding statuses entry. Errors affecting the whole action use:
Cancel responses describe gateway state. Older on-chain publications can still execute until replaced or expired. Continue tracking fills for canceled and replaced IDs. Invalid or unsupported /info requests return HTTP 422. Unsupported WebSocket requests/subscriptions return an error response or channel. Book price aggregation, aggregated fill history, and unsupported Hyperliquid trading/funding actions fail explicitly.