Skip to content

Latest commit

 

History

History
201 lines (107 loc) · 4.28 KB

AfterTxEvent.md

File metadata and controls

201 lines (107 loc) · 4.28 KB

@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:400


amountSpent

amountSpent: bigint

The amount of ether used by this transaction

Inherited from

RunTxResult.amountSpent

Defined in

vm/src/types.ts:378


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:410


bloom

bloom: Bloom

Bloom filter resulted from transaction

Inherited from

RunTxResult.bloom

Defined in

vm/src/types.ts:373


createdAddress

Optional createdAddress: Address

Address of created account during transaction, if any

Inherited from

RunTxResult.createdAddress

Defined in

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


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:249


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:395


minerValue

minerValue: bigint

The value that accrues to the miner by this transaction

Inherited from

RunTxResult.minerValue

Defined in

vm/src/types.ts:405


receipt

receipt: TxReceipt

The tx receipt

Inherited from

RunTxResult.receipt

Defined in

vm/src/types.ts:383


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:390


transaction

transaction: TypedTransaction

The transaction which just got finished

Defined in

vm/src/types.ts:417