blockDetails
post
/info
Request block details by block height.
Body
Request block details by block height.
typeundefined · enumRequiredPossible values:
Type of request.
heightintegerRequired
Block height.
Responses
200
Response containing block information.
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: 34
{
"type": "blockDetails",
"height": 1
}{
"type": "blockDetails",
"blockDetails": {
"blockTime": 1,
"hash": "text",
"height": 1,
"numTxs": 1,
"proposer": "text",
"txs": [
{
"action": {
"type": "text"
},
"block": 1,
"error": "text",
"hash": "text",
"time": 1,
"user": "text"
}
]
}
}Last updated