ethereumjs-monorepo

@ethereumjs/statemanager / RPCBlockChain

Class: RPCBlockChain

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new RPCBlockChain(provider)

Parameters

Name Type
provider string

Defined in

rpcStateManager.ts:445

Properties

provider

Readonly provider: string

Defined in

rpcStateManager.ts:444

Methods

getBlock

getBlock(blockId): Promise<{ hash: () => Uint8Array }>

Parameters

Name Type
blockId number

Returns

Promise<{ hash: () => Uint8Array }>

Defined in

rpcStateManager.ts:449


shallowCopy

shallowCopy(): RPCBlockChain

Returns

RPCBlockChain

Defined in

rpcStateManager.ts:459