ethereumjs-monorepo

@ethereumjs/block


@ethereumjs/block / createSealedCliqueBlockHeader

Function: createSealedCliqueBlockHeader()

createSealedCliqueBlockHeader(headerData, cliqueSigner, opts): BlockHeader

Defined in: header/constructors.ts:87

Creates a Clique block header with the seal applied during instantiation.

Parameters

headerData

HeaderData = {}

Header fields for the Clique block

cliqueSigner

Uint8Array

Private key bytes used to sign the header

opts

BlockOptions = {}

BlockOptions

Returns

BlockHeader

A sealed BlockHeader