ethereumjs-monorepo

@ethereumjs/block


@ethereumjs/block / createEmptyBlock

Function: createEmptyBlock()

createEmptyBlock(headerData, opts?): Block

Defined in: block/constructors.ts:108

Simple static constructor if only an empty block is needed (tree shaking advantages since it does not draw all the tx constructors in)

Parameters

headerData

HeaderData

opts?

BlockOptions

Returns

Block