default BlockHeader getChainHeadHeader() {
    return getBlockHeader(getChainHeadHash())
        .orElseThrow(() -> new IllegalStateException("Missing chain head header."));
  }
Returns the header for the current chain head.

@return the header for the current chain head
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/chain/Blockchain.java