Trading (Hosted)

Submit Order (Hosted)

Submit a signed, previously-built order via built_order_id. The order must have been returned from buildOrderHosted within the expiry window. Returns the resulting Order once execution settles or queues.

For most callers, prefer createOrderHosted, which chains build -> sign -> submit in a single call.

post/v0/trade/submit-order

Request body

built_order_idstring required
signaturestring required

Hex-encoded EIP-712 signature.

pull_signaturestring nullable

Signature for the secondary pull-authorization, required when pull_typed_data was returned.

waitboolean

When true, the server waits for on-chain settlement before responding.

Response

Order accepted by the hosted backend.

idstring required
market_idstring uuid nullable
outcome_idstring uuid nullable
side'buy' | 'sell' nullable
type'market' | 'limit' nullable
amountnumber nullable
pricenumber nullable
fillednumber
remainingnumber
statusstring required
feenumber nullable
timestampstring nullable
tx_hashstring nullable

On-chain transaction hash. Null until settled.

chainstring nullable
block_numberinteger nullable

Changes