Skip to content

Latest commit

 

History

History
88 lines (47 loc) · 1.9 KB

CustomCommonOpts.md

File metadata and controls

88 lines (47 loc) · 1.9 KB

@ethereumjs/common / CustomCommonOpts

Interface: CustomCommonOpts

Options to be used with the {@link Common.custom} static constructor.

Hierarchy

  • BaseOpts

    CustomCommonOpts

Table of contents

Properties

Properties

baseChain

Optional baseChain: string | number | BN

The name (mainnet), id (1), or Chain enum of a standard chain used to base the custom chain params on.

Defined in

packages/common/src/index.ts:162


eips

Optional eips: number[]

Selected EIPs which can be activated, please use an array for instantiation (e.g. eips: [ 2537, ])

Currently supported:

Inherited from

BaseOpts.eips

Defined in

packages/common/src/index.ts:117


hardfork

Optional hardfork: string

String identifier ('byzantium') for hardfork or Hardfork enum.

Default: Hardfork.Istanbul

Inherited from

BaseOpts.hardfork

Defined in

packages/common/src/index.ts:104


supportedHardforks

Optional supportedHardforks: string[]

Limit parameter returns to the given hardforks

Inherited from

BaseOpts.supportedHardforks

Defined in

packages/common/src/index.ts:108