Skip to content
On this page

setAutomine

Enables or disables the automatic mining of new blocks with each new transaction submitted to the network.

Usage

ts
import { testClient } from '.'
 
await testClient.setAutomine(true) 

Parameters

enabled

  • Type: boolean
ts
await testClient.setAutomine(false) 

Released under the MIT License.