@ethereumjs/vm / AfterTxEvent
Execution result of a transaction
↳ AfterTxEvent
• Optional
accessList: AccessList
EIP-2930 access list generated for the tx (see reportAccessList
option)
• amountSpent: bigint
The amount of ether used by this transaction
• Optional
blobGasUsed: bigint
This is the blob gas units times the fee per blob gas for 4844 transactions
• bloom: Bloom
Bloom filter resulted from transaction
• Optional
createdAddress: Address
Address of created account during transaction, if any
evm/dist/cjs/types.d.ts:248
• execResult: ExecResult
Contains the results from running the code, if any, as described in runCode
evm/dist/cjs/types.d.ts:252
• gasRefund: bigint
The amount of gas as that was refunded during the transaction (i.e. gasUsed = totalGasConsumed - gasRefund
)
• minerValue: bigint
The value that accrues to the miner by this transaction
• Optional
preimages: Map
<string
, Uint8Array
>
Preimages mapping of the touched accounts from the tx (see reportPreimages
option)
• receipt: TxReceipt
The tx receipt
• totalGasSpent: bigint
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
• transaction: TypedTransaction
The transaction which just got finished