ethereumjs-monorepo

@ethereumjs/evm


@ethereumjs/evm / ExecResult

Interface: ExecResult

Defined in: types.ts:494

Result of executing a call via the EVM.

Properties

blobGasUsed?

optional blobGasUsed?: bigint

Defined in: types.ts:533

Amount of blob gas consumed by the transaction


createdAddresses?

optional createdAddresses?: Set<`0x${string}`>

Defined in: types.ts:525

Map of addresses which were created (used in EIP 6780)


exceptionError?

optional exceptionError?: EVMError

Defined in: types.ts:499

Description of the exception, if any occurred


executionGasUsed

executionGasUsed: bigint

Defined in: types.ts:507

Amount of gas the code used to run


gas?

optional gas?: bigint

Defined in: types.ts:503

Amount of gas left


gasRefund?

optional gasRefund?: bigint

Defined in: types.ts:529

The gas refund counter


logs?

optional logs?: Log[]

Defined in: types.ts:517

Logs emitted during execution (LOG0–LOG4, and fork-specific synthetic logs such as EIP-7708 on runCall). Cleared when execution reverts. See the package README section on event logs.


returnValue

returnValue: Uint8Array

Defined in: types.ts:511

Return value from the contract


runState?

optional runState?: RunState

Defined in: types.ts:495


selfdestruct?

optional selfdestruct?: SelfdestructMap

Defined in: types.ts:521

Selfdestructed accounts mapped to their beneficiary


stateGasSpilled?

optional stateGasSpilled?: bigint

Defined in: types.ts:541

EIP-8037: state gas paid from the frame’s regular gas (spilled), including spill merged from successful child frames. Propagated to the parent frame’s spill tracker on success; zeroed on frame failure.

Remarks

Experimental (Amsterdam): may change on patch releases.