ethereumjs-monorepo

@ethereumjs/vm / AfterTxEvent

Interface: AfterTxEvent

Execution result of a transaction

Hierarchy

Table of contents

Properties

Properties

accessList

Optional accessList: AccessList

EIP-2930 access list generated for the tx (see reportAccessList option)

Inherited from

RunTxResult.accessList

Defined in

vm/src/types.ts:427


amountSpent

amountSpent: bigint

The amount of ether used by this transaction

Inherited from

RunTxResult.amountSpent

Defined in

vm/src/types.ts:405


blobGasUsed

Optional blobGasUsed: bigint

This is the blob gas units times the fee per blob gas for 4844 transactions

Inherited from

RunTxResult.blobGasUsed

Defined in

vm/src/types.ts:442


bloom

bloom: Bloom

Bloom filter resulted from transaction

Inherited from

RunTxResult.bloom

Defined in

vm/src/types.ts:400


createdAddress

Optional createdAddress: Address

Address of created account during transaction, if any

Inherited from

RunTxResult.createdAddress

Defined in

evm/dist/cjs/types.d.ts:248


execResult

execResult: ExecResult

Contains the results from running the code, if any, as described in runCode

Inherited from

RunTxResult.execResult

Defined in

evm/dist/cjs/types.d.ts:252


gasRefund

gasRefund: bigint

The amount of gas as that was refunded during the transaction (i.e. gasUsed = totalGasConsumed - gasRefund)

Inherited from

RunTxResult.gasRefund

Defined in

vm/src/types.ts:422


minerValue

minerValue: bigint

The value that accrues to the miner by this transaction

Inherited from

RunTxResult.minerValue

Defined in

vm/src/types.ts:437


preimages

Optional preimages: Map<string, Uint8Array>

Preimages mapping of the touched accounts from the tx (see reportPreimages option)

Inherited from

RunTxResult.preimages

Defined in

vm/src/types.ts:432


receipt

receipt: TxReceipt

The tx receipt

Inherited from

RunTxResult.receipt

Defined in

vm/src/types.ts:410


totalGasSpent

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

Inherited from

RunTxResult.totalGasSpent

Defined in

vm/src/types.ts:417


transaction

transaction: TypedTransaction

The transaction which just got finished

Defined in

vm/src/types.ts:449