@ethereumjs/vm / RunTxOpts
Defined in: vm/src/types.ts:407
Options for the runTx method.
optionalblock:Block
Defined in: vm/src/types.ts:412
The @ethereumjs/block the tx belongs to.
If omitted, a default blank block will be used.
optionalblockGasUsed:bigint
Defined in: vm/src/types.ts:460
To obtain an accurate tx receipt input the block gas used up until this tx.
optionalreportAccessList:boolean
Defined in: vm/src/types.ts:449
If true, adds a generated EIP-2930 access list
to the RunTxResult returned.
Option works with all tx types. EIP-2929 needs to
be activated (included in berlin HF).
Note: if this option is used with a custom StateManager implementation StateManager.generateAccessList must be implemented.
optionalreportPreimages:boolean
Defined in: vm/src/types.ts:455
If true, adds a hashedKey -> preimages mapping of all touched accounts
to the RunTxResult returned.
optionalskipBalance:boolean
Defined in: vm/src/types.ts:425
Skip balance checks if true. Adds transaction cost to balance to ensure execution doesn’t fail.
optionalskipBlockGasLimitValidation:boolean
Defined in: vm/src/types.ts:431
If true, skips the validation of the tx’s gas limit against the block’s gas limit.
optionalskipHardForkValidation:boolean
Defined in: vm/src/types.ts:437
If true, skips the hardfork validation of vm, block and tx
optionalskipNonce:boolean
Defined in: vm/src/types.ts:420
If true, skips the nonce check
tx:
TypedTransaction
Defined in: vm/src/types.ts:416
An @ethereumjs/tx to run