Skip to content

@acala-network/chopsticks-coreDocs


@acala-network/chopsticks-core / buildBlock

Function: buildBlock()

buildBlock(head, inherentProviders, params, callbacks?): Promise<[Block, `0x${string}`[]]>

Parameters

head: Block

inherentProviders: InherentProvider[]

params: BuildBlockParams

callbacks?: BuildBlockCallbacks

Returns

Promise<[Block, `0x${string}`[]]>

Defined in

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