Skip to content

AfterTxEvent

Execution result of a transaction

Extends

Properties

accessList?

optional accessList: AccessList

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

Inherited from

RunTxResult.accessList

Defined in

packages/vm/src/utils/RunTxResult.ts:41


amountSpent

amountSpent: bigint

The amount of ether used by this transaction

Inherited from

RunTxResult.amountSpent

Defined in

packages/vm/src/utils/RunTxResult.ts:19


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

packages/vm/src/utils/RunTxResult.ts:56


bloom

bloom: Bloom

Bloom filter resulted from transaction

Inherited from

RunTxResult.bloom

Defined in

packages/vm/src/utils/RunTxResult.ts:14


createdAddress?

optional createdAddress: EthjsAddress

Address of created account during transaction, if any

Inherited from

RunTxResult.createdAddress

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:273


execResult

execResult: ExecResult

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

Inherited from

RunTxResult.execResult

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:277


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

packages/vm/src/utils/RunTxResult.ts:36


minerValue

minerValue: bigint

The value that accrues to the miner by this transaction

Inherited from

RunTxResult.minerValue

Defined in

packages/vm/src/utils/RunTxResult.ts:51


preimages?

optional preimages: Map<`0x${string}`, Uint8Array>

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

Inherited from

RunTxResult.preimages

Defined in

packages/vm/src/utils/RunTxResult.ts:46


receipt

receipt: TxReceipt

The tx receipt

Inherited from

RunTxResult.receipt

Defined in

packages/vm/src/utils/RunTxResult.ts:24


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

packages/vm/src/utils/RunTxResult.ts:31


transaction

transaction: TypedTransaction

The transaction which just got finished

Defined in

packages/vm/src/utils/AfterTxEvent.ts:8