Skip to content

@acala-network/chopsticks-core


@acala-network/chopsticks-core / newHeader

Function: newHeader()

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

Defined in: packages/core/src/blockchain/block-builder.ts:87

Parameters

Block

unsafeBlockHeight?

number

Returns

Promise<Header>