GetOrder
Returns the current stored state of one order, identified by the
composite key order_id + market + reduce_only. Order IDs are not
globally unique: the same numeric ID can exist as both a
position-opening order and a reduce-only order in the same market, so
reduce_only must match the kind of order you’re looking up.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Define the version of the Connect protocol. If omitted, use 1.
1 Define the timeout, in ms
Body
On-chain order identifier to look up. Required; must be combined
with market and reduce_only to uniquely identify the order.
Market the order belongs to, by market_id or market_symbol.
Required; an unresolvable selector returns NOT_FOUND.
- market_id
- market_symbol
Whether to look up a reduce-only order (true) or a
position-opening order (false) for this order_id. Defaults
to false when omitted.
Response
Success
Current stored state of a position-opening or reduce-only order.
Because both order kinds share this message, some numeric fields have
different meanings and units. Use reduceOnly when interpreting them.