Header
Returns a single block's header. BlockId can either be a block hash or a block height.
Path parameters
blockIdstringRequiredPattern:
Block identifier, as the block height or block hash.
^0[xX][0-9a-fA-F]{1,64}$|[0-9]{1,12}
Responses
200
successful operation
application/json
400
invalid Block identifier supplied
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"
]
}
]
}
}