BlockOverrideSet
BlockOverrideSet:
object
The fields of this optional object customize the block as part of which the call is simulated. The object contains the following fields:
This option cannot be used when createTransaction is set to true
Setting the block number to past block will not run in the context of that blocks state. To do that fork that block number first.
Type declaration
baseFee?
optionalbaseFee:bigint
Block base fee (see EIP-1559)
blobBaseFee?
optionalblobBaseFee:bigint
Block blob base fee (see EIP-4844)
coinbase?
optionalcoinbase:Address
Block fee recipient
gasLimit?
optionalgasLimit:bigint
Block gas capacity
number?
optionalnumber:bigint
Fake block number
time?
optionaltime:bigint
Fake block timestamp
Source
common/BlockOverrideSet.ts:8