MineHandler
MineHandler: (
params
?) =>Promise
<MineResult
>
Mines a block including all transactions in the mempool
Example
const res = tevmClient.mine({blocks: 2, interval: 2})console.log(res.errors) // undefined
Parameters
• params?: MineParams
Returns
Promise
<MineResult
>
Source
handlers/MineHandler.ts:9