Skip to main content
HyperliquidPolymarket
POST/exchange

Request Body

object
required
Signed action containing exactly one of splitOutcome or mergeOutcome. Requires protocol access and an account that is neither frozen nor in active liquidation.
number
required
Unique nonnegative safe integer nonce in Unix milliseconds; follow the nonce rules. Resend the identical signed request for a retry; it returns the existing operation state.
object
required
Account owner or approved API wallet; use the exchange signing format.

Response

Response Fields

string
"ok" when an operation state is returned; completion is reported in response.data.status. An exact retry can return "error" with a top-level error message.
string
Present when the top-level status is "error"; response is then omitted.
string
Always "outcomeOperation".
string
Stable operation ID. Query non-funding history with the account owner’s user address and this value as operationId to track settlement. An empty result can reflect read-replica delay.
string
"hyperliquid" or "polymarket".
string
"split" or "merge". Hyperliquid supports merge only.
string
  • pending: accepted; awaiting execution or confirmation.
  • active: execution recorded; awaiting confirmation. Polymarket only.
  • needs_reconciliation: outcome unconfirmed; funds remain reserved. Polymarket only.
  • completed: collateral or shares credited. Terminal.
  • failed: reservation released. Terminal.