BlockParams contains limits on the block size.

interface BlockParams {
    maxBytes: bigint;
    maxGas: bigint;
    timeIotaMs: bigint;
}

Properties

maxBytes: bigint

Max block size, in bytes. Note: must be greater than 0

maxGas: bigint

Max gas per block. Note: must be greater or equal to -1

timeIotaMs: bigint

Minimum time increment between consecutive blocks (in milliseconds) If the block header timestamp is ahead of the system clock, decrease this value.

Not exposed to the application.