Header
Returns the most recently finalized block's header.
Query parameters
finalizedbooleanOptionalDefault:
Boolean representing whether or not to get the finalized head. If it is not set the value defaults to true. When set to false it will attempt to get the newest known block, which may not be finalized.
true
Responses
200
successful operation
application/json
400
invalid Block identifier supplied
application/json
get
GET /blocks/head/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"
]
}
]
}
}