twapHistory
post
/info
Request twap history of a user.
Body
Request twap history of a user.
typeundefined · enumRequiredPossible values:
Type of request.
userstring · min: 42 · max: 42RequiredPattern:
User address.
^0[xX][0-9a-fA-F]+$Responses
200
Array of user's TWAP history.
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: 36
{
"type": "twapHistory",
"user": "text"
}[
{
"time": 1,
"state": {
"coin": "text",
"executedNtl": "text",
"executedSz": "text",
"minutes": 1,
"randomize": true,
"reduceOnly": true,
"side": "B",
"sz": "text",
"timestamp": 1,
"user": "text"
},
"status": {
"status": "finished"
},
"twapId": 1
}
]Last updated