Header

Get a block's header by its height or hash.

get

Returns a single block's header. BlockId can either be a block hash or a block height.

Path parameters
blockIdstringRequired

Block identifier, as the block height or block hash.

Pattern: ^0[xX][0-9a-fA-F]{1,64}$|[0-9]{1,12}
Responses
200
successful operation
application/json
get
GET /blocks/{blockId}/header HTTP/1.1
Host: dot-playbook.nownodes.io
Accept: */*
{
  "parentHash": "text",
  "number": "text",
  "stateRoot": "text",
  "extrinsicRoot": "text",
  "digest": {
    "logs": [
      {
        "type": "text",
        "index": "text",
        "value": [
          "text"
        ]
      }
    ]
  }
}