Skip to content

@acala-network/chopsticks-coreDocs


@acala-network/chopsticks-core / newHeader

Function: newHeader()

newHeader(head, unsafeBlockHeight?): Promise<Header>

Parameters

head: Block

unsafeBlockHeight?: number

Returns

Promise<Header>

Defined in

packages/core/src/blockchain/block-builder.ts:88