Skip to content

hasStateRoot

hasStateRoot(baseState, skipFetchingFromFork?): (root) => Promise<boolean>

Returns true if state root exists

Parameters

baseState: BaseState

skipFetchingFromFork?: boolean

Returns

Function

Parameters

root: Uint8Array

Returns

Promise<boolean>

Defined in

packages/state/src/actions/hasStateRoot.js:7