setAutomine
Enables or disables the automatic mining of new blocks with each new transaction submitted to the network.
Usage
example.ts
import { testClient } from './client'
await testClient.setAutomine(true)
Parameters
enabled
- Type:
boolean
await testClient.setAutomine(false)