Skip to content

getIteratorHead

getIteratorHead(baseChain): (name?) => Promise<Block>

Parameters

baseChain: BaseChain

Returns

Function

Returns the specified iterator head.

Parameters

name?: string

Optional name of the iterator head (default: ‘vm’)

Returns

Promise<Block>

Defined in

packages/blockchain/src/actions/getIteratorHead.js:8