Skip to content

putBlock

putBlock(baseChain): (block) => Promise<void>

Parameters

baseChain: BaseChain

Returns

Function

Adds a block to the blockchain.

Parameters

block: Block

The block to be added to the blockchain.

Returns

Promise<void>

Defined in

packages/blockchain/src/actions/putBlock.js:7