ChainOptions
ChainOptions:
object
Options passed into createChain to initialize a Chain object
Type declaration
common
common:
Common
A Common instance
fork?
optionalfork:object
Optional fork config for forking a live chain
fork.blockTag?
optionalblockTag:BlockTag|bigint| `0x${string}`
Optional block tag to fork Defaults to ‘latest’
fork.url
url:
string
JSON-RPC url to fork
genesisBlock?
optionalgenesisBlock:Block
Override the genesis block. If fork is provided it will be fetched from fork. Otherwise a default genesis is provided.
genesisStateRoot?
optionalgenesisStateRoot:Uint8Array
loggingLevel?
optionalloggingLevel:LogOptions["level"]
Logging level of blockchain package. Defaults to warn
Source
ChainOptions.ts:9