ethereumjs-monorepo

@ethereumjs/blockchain


@ethereumjs/blockchain / getGenesisStateRoot

Function: getGenesisStateRoot()

getGenesisStateRoot(chainId, common): Promise<Uint8Array<ArrayBufferLike>>

Defined in: helpers.ts:38

Returns the genesis state root if chain is well known or an empty state’s root otherwise

Parameters

chainId

Chain

common

Common

Returns

Promise<Uint8Array<ArrayBufferLike>>