MineParams
MineParams<
TThrowOnFail
>:BaseParams
<TThrowOnFail
> &object
Tevm params to mine one or more blocks.
Type declaration
blockCount?
readonly
optional
blockCount:number
Number of blocks to mine. Defaults to 1.
interval?
readonly
optional
interval:number
Interval between block timestamps. Defaults to 1.
Type Parameters
• TThrowOnFail extends boolean
= boolean
Example
Param
Number of blocks to mine. Defaults to 1.
Param
Interval between block timestamps in seconds. Defaults to 1.