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>

Source

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