MineHandler
MineHandler: (
params?) =>Promise<MineResult>
Mines a block including all transactions in the mempool.
Parameters
• params?: MineParams
The parameters for the mine action.
Returns
Promise<MineResult>
- The result of the mine action.
Example
const res = await tevmClient.mine({ blocks: 2, interval: 2 })console.log(res.errors) // undefinedSee
- MineParams for details on the parameters.
- MineResult for details on the result.