userTwapSliceFillsByTime
post
/info
Request user TWAP slice fills by time.
Body
Request user TWAP slice fills by time.
typeundefined · enumRequiredPossible values:
Type of request.
userstring · min: 42 · max: 42RequiredPattern:
User address.
^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
422
Failed to deserialize the JSON body into the target type
text/plain
500
Internal Server Error
application/json
post
/infoPOST /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