blockDetails

post
/info

Request block details by block height.

Body

Request block details by block height.

typeundefined · enumRequired

Type of request.

Possible values:
heightintegerRequired

Block height.

Responses
200

Response containing block information.

application/json
post
/info
POST /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