historicalOrders

post
/info

Request user historical orders.

Body

Request user historical orders.

typeundefined · enumRequired

Type of request.

Possible values:
userstring · min: 42 · max: 42Required

User address.

Pattern: ^0[xX][0-9a-fA-F]+$
Responses
200

Array of frontend orders with current processing status.

application/json
post
/info
POST /info HTTP/1.1
Host: api.hyperliquid.xyz
Content-Type: application/json
Accept: */*
Content-Length: 41

{
  "type": "historicalOrders",
  "user": "text"
}
[
  {
    "order": {
      "coin": "text",
      "side": "B",
      "limitPx": "text",
      "sz": "text",
      "oid": 1,
      "timestamp": 1,
      "origSz": "text",
      "triggerCondition": "text",
      "isTrigger": true,
      "triggerPx": "text",
      "children": [],
      "isPositionTpsl": true,
      "reduceOnly": true,
      "orderType": "Market",
      "tif": "Gtc",
      "cloid": "text"
    },
    "status": "open",
    "statusTimestamp": 1
  }
]

Last updated