Skip to content

setBlockGasLimit

Sets the block's gas limit.

Usage

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

Parameters

gasLimit

  • Type: bigint

The gas limit.

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