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

actions/getCanonicalHeadBlock.js:5