Skip to content
On this page

setBlockGasLimit

Sets the block's gas limit.

Usage

ts
import { testClient } from '.'
 
await testClient.setBlockGasLimit({ 
  gasLimit: 420_000n
})

Parameters

gasLimit

  • Type: bigint

The gas limit.

ts
await testClient.setBlockGasLimit({
  gasLimit: 420_000n 
})

Released under the MIT License.