Header

Get information about the header of the most recent finalized block.

get

Returns the most recently finalized block's header.

Query parameters
finalizedbooleanOptional

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.

Default: true
Responses
200
successful operation
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"
        ]
      }
    ]
  }
}