@ethereumjs/vm / RunTxOpts
Defined in: vm/src/types.ts:414
Options for the runTx method.
optionalblock?:Block
Defined in: vm/src/types.ts:419
The Block the transaction belongs to. If omitted, a default blank block is used.
optionalblockGasUsed?:bigint
Defined in: vm/src/types.ts:467
To obtain an accurate tx receipt input the block gas used up until this tx.
optionalreportAccessList?:boolean
Defined in: vm/src/types.ts:456
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 @ethereumjs/common!StateManagerInterface implementation,
generateAccessList() must be implemented on that class.
optionalreportPreimages?:boolean
Defined in: vm/src/types.ts:462
If true, adds a hashedKey -> preimages mapping of all touched accounts
to the RunTxResult returned.
optionalskipBalance?:boolean
Defined in: vm/src/types.ts:432
Skip balance checks if true. Adds transaction cost to balance to ensure execution doesn’t fail.
optionalskipBlockGasLimitValidation?:boolean
Defined in: vm/src/types.ts:438
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:444
If true, skips the hardfork validation of vm, block and tx
optionalskipNonce?:boolean
Defined in: vm/src/types.ts:427
If true, skips the nonce check
tx:
TypedTransaction
Defined in: vm/src/types.ts:423
Signed transaction to execute