Skip to content

@acala-network/chopsticks-core


@acala-network/chopsticks-core / buildBlock

Function: buildBlock()

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

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

Parameters

Block

inherentProviders

InherentProvider[]

params

BuildBlockParams

callbacks?

BuildBlockCallbacks

Returns

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