Order status
Endpoint
POST /info
Selector: type: "orderStatus"
Purpose
Looks up one customer order by its numeric order ID or CLOID.
Authorization
Owner or approved reader for user. The SDK signs requests; raw clients use proof headers.
Request fields
| Field | Type | Required | Meaning |
|---|---|---|---|
type | String | Yes | orderStatus. |
user | Address | Yes | Customer account address; the signer must own it or have read permission. |
oid | Unsigned integer or CLOID | Yes | Numeric order ID or a 16-byte, 0x-prefixed CLOID string. |
Request example
{
"type": "orderStatus",
"user": "0x1111111111111111111111111111111111111111",
"oid": 42
}Response fields
| Field | Meaning |
|---|---|
status | order when a matching customer order is known; unknownOid otherwise. |
order.order | The detailed order object. |
order.status | Order lifecycle state such as open, filled, canceled, marginCanceled or liquidatedCanceled. |
order.statusTimestamp | Lifecycle status time in Unix milliseconds. |
Response example
Illustrative response:
{
"status": "order",
"order": {
"order": {
"coin": "BTC",
"limitPx": "100000",
"oid": 42,
"side": "B",
"sz": "0.01",
"timestamp": 1796238000000,
"cloid": null,
"isPositionTpsl": false,
"isTrigger": false,
"orderType": "Limit",
"origSz": "0.01",
"reduceOnly": false,
"triggerCondition": "N/A",
"triggerPx": "0",
"children": [],
"tif": "Gtc"
},
"status": "open",
"statusTimestamp": 1796238000000
}
}Unknown order:
{"status":"unknownOid"}Constraints
- A missing order and an order belonging to another customer return the same unknownOid result.
- A CLOID is a 16-byte hex value, unlike 32-byte custody transaction hashes.