userTwapSliceFillsByTime

post
/info

Request user TWAP slice fills by time.

Body

Request user TWAP slice fills by time.

typeundefined · enumRequired

Type of request.

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

User address.

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

Start time (in ms since epoch).

endTimeany ofOptional

End time (in ms since epoch).

integer | nullableOptional
aggregateByTimebooleanOptional

If true, partial fills are aggregated when a crossing order fills multiple resting orders.

Responses
200

Array of user's twap slice fill by time.

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

{
  "type": "userTwapSliceFillsByTime",
  "user": "text",
  "startTime": 1,
  "endTime": 1,
  "aggregateByTime": true
}
[
  {
    "fill": {
      "coin": "text",
      "px": "text",
      "sz": "text",
      "side": "B",
      "time": 1,
      "startPosition": "text",
      "dir": "text",
      "closedPnl": "text",
      "hash": "text",
      "oid": 1,
      "crossed": true,
      "fee": "text",
      "tid": 1,
      "feeToken": "text",
      "twapId": 1
    },
    "twapId": 1
  }
]

Last updated