ethereumjs-monorepo

@ethereumjs/vm


@ethereumjs/vm / RunTxResult

Interface: RunTxResult

Defined in: vm/src/types.ts:444

Execution result of a transaction

Extends

Extended by

Properties

accessList?

optional accessList: AccessList

Defined in: vm/src/types.ts:475

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


amountSpent

amountSpent: bigint

Defined in: vm/src/types.ts:453

The amount of ether used by this transaction


blobGasUsed?

optional blobGasUsed: bigint

Defined in: vm/src/types.ts:490

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


bloom

bloom: Bloom

Defined in: vm/src/types.ts:448

Bloom filter resulted from transaction


createdAddress?

optional createdAddress: Address

Defined in: evm/dist/esm/types.d.ts:333

Address of created account during transaction, if any

Inherited from

EVMResult.createdAddress


execResult

execResult: ExecResult

Defined in: evm/dist/esm/types.d.ts:337

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

Inherited from

EVMResult.execResult


gasRefund

gasRefund: bigint

Defined in: vm/src/types.ts:470

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


minerValue

minerValue: bigint

Defined in: vm/src/types.ts:485

The value that accrues to the miner by this transaction


preimages?

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

Defined in: vm/src/types.ts:480

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


receipt

receipt: TxReceipt

Defined in: vm/src/types.ts:458

The tx receipt


totalGasSpent

totalGasSpent: bigint

Defined in: vm/src/types.ts:465

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