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>

Source

actions/putBlock.js:7