Cascade
Orders

Get Order

Retrieve a single existing order

GET
/account/order

Query Parameters

orderId?string

identifies the order to retrieve

clientId?string

identifies the order to retrieve, required if orderId is not provided

account?string

identifies the account which owns the order to be cancelled, required with clientId

Response Body

application/json

text/plain

text/plain

text/plain

curl -X GET "https://matcher.cascade.xyz/account/order?orderId=28fd3a0ba688a4219b75067166a0b9a422e3885456b95125b3b58141665fed0a&clientId=hedge_0708-648702&account=0xf8e07ea9e92e76bfcc9f9efc8ac4acab307f35ac"
{
  "account": "string",
  "clientId": "string",
  "createdAt": 0,
  "expiresAt": 0,
  "flags": {
    "ioc": true,
    "postOnly": true,
    "reduceOnly": true,
    "selfTradeExpire": 0
  },
  "groupId": "string",
  "lastUpdateSequenceNumber": 0,
  "nonce": 0,
  "orderId": "string",
  "orderType": "unsupported",
  "originator": "string",
  "originatorFee": 0,
  "parentOrderId": "string",
  "period": 0,
  "price": "string",
  "quantity": "string",
  "reason": "string",
  "remaining": "string",
  "settled": "string",
  "status": "new",
  "subaccountIndex": 0,
  "symbol": "string",
  "trailingPercent": "string",
  "triggerPrice": "string",
  "updatedAt": 0
}
"string"
"string"
"Order not found"