@ethereumjs/vm / RunTxResult
Defined in: vm/src/types.ts:473
Execution result of a transaction
EVMResult
optionalaccessList?:AccessList
Defined in: vm/src/types.ts:530
EIP-2930 access list generated for the tx (see reportAccessList option)
amountSpent:
bigint
Defined in: vm/src/types.ts:482
The amount of ether used by this transaction
optionalblobGasUsed?:bigint
Defined in: vm/src/types.ts:545
This is the blob gas units times the fee per blob gas for 4844 transactions
blockGasSpent:
bigint
Defined in: vm/src/types.ts:502
The amount of gas accounted for at block level.
Under EIP-7778 (Amsterdam) this excludes tx-level refund subtraction from header gasUsed.
Experimental (Amsterdam): may change on patch releases.
bloom:
Bloom
Defined in: vm/src/types.ts:477
Bloom filter resulted from transaction
optionalcreatedAddress?:Address
Defined in: evm/src/types.ts:484
Address of created account during transaction, if any
EVMResult.createdAddress
execResult:
ExecResult
Defined in: evm/src/types.ts:488
Contains the results from running the code, if any, as described in @ethereumjs/evm!EVM.runCode.
EVMResult.execResult
gasRefund:
bigint
Defined in: vm/src/types.ts:525
The amount of gas as that was refunded during the transaction (i.e. gasUsed = totalGasConsumed - gasRefund)
minerValue:
bigint
Defined in: vm/src/types.ts:540
The value that accrues to the miner by this transaction
optionalpreimages?:Map<`0x${string}`,Uint8Array<ArrayBufferLike>>
Defined in: vm/src/types.ts:535
Preimages mapping of the touched accounts from the tx (see reportPreimages option)
receipt:
TxReceipt
Defined in: vm/src/types.ts:487
The tx receipt
totalGasSpent:
bigint
Defined in: vm/src/types.ts:494
The amount of gas used in this transaction, which is paid for This contains the gas units that have been used on execution, plus the upfront cost, which consists of calldata cost, intrinsic cost and optionally the access list costs
optionaltxRegularGas?:bigint
Defined in: vm/src/types.ts:520
EIP-8037 per-tx regular-gas total (intrinsic_regular_gas + execution_regular_gas_used,
with the EIP-7623 calldata floor applied via max(tx_regular_gas, calldata_floor_gas_cost)
at the block level). Undefined when EIP-8037 is inactive.
Experimental (Amsterdam): may change on patch releases.
optionaltxStateGas?:bigint
Defined in: vm/src/types.ts:511
EIP-8037 per-tx state-gas total (intrinsic_state_gas + execution_state_gas_used).
Undefined when EIP-8037 is inactive. Used by runBlock to track the block-level
state-gas dimension and compute gas_used = max(block_regular_gas_used, block_state_gas_used).
Experimental (Amsterdam): may change on patch releases.