Skip to content

getCanonicalHeadBlock

getCanonicalHeadBlock(baseChain): () => Promise<Block>

Parameters

baseChain: BaseChain

Returns

Function

Returns the latest full block in the canonical chain.

Returns

Promise<Block>

Defined in

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