Skip to main content
POST
/
info
curl --request POST \
  --url https://api.hotstuff.trade/info \
  --header 'Content-Type: application/json' \
  --data '{
    "method": "order_history",
    "params": {
        "user": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
    }
}'
{
  "data": [
    {
      "order_id": 153917370,
      "user": "0x42C183edba036906447372a7c81Eb89D0B9f2175",
      "instrument_id": 1,
      "instrument": "BTC-PERP",
      "side": "s",
      "position_side": "BOTH",
      "limit_price": "75187",
      "size": "0.00282",
      "unfilled": "0",
      "state": "filled",
      "cloid": "",
      "tif": "IOC",
      "post_only": false,
      "reduce_only": true,
      "trigger_px": "0",
      "is_market": false,
      "tpsl": "",
      "grouping": "",
      "timestamp": "2026-02-03T17:19:08.468Z"
    }
  ],
  "page": 1,
  "limit": 100,
  "total_count": 292,
  "total_pages": 3,
  "has_next": true,
  "has_prev": false
}
Retrieve historical order data for the authenticated user account.
curl --request POST \
  --url https://api.hotstuff.trade/info \
  --header 'Content-Type: application/json' \
  --data '{
    "method": "order_history",
    "params": {
        "user": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
    }
}'

Body

application/json
method
string
required
params
object
required

Response

Successful response

data
object[]
page
integer
limit
integer
total_count
integer
total_pages
integer
has_next
boolean
has_prev
boolean