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>

Source

actions/getCanonicalHeadBlock.js:5