ethereumjs-monorepo

@ethereumjs/evm / EVMRunCallOpts

Interface: EVMRunCallOpts

Options for running a call (or create) operation with EVM.runCall()

Hierarchy

Table of contents

Properties

Properties

accessWitness

Optional accessWitness: AccessWitness

Defined in

types.ts:127


blobVersionedHashes

Optional blobVersionedHashes: Uint8Array[]

Versioned hashes for each blob in a blob transaction

Inherited from

EVMRunOpts.blobVersionedHashes

Defined in

types.ts:83


block

Optional block: Block

The block the tx belongs to. If omitted a default blank block will be used.

Inherited from

EVMRunOpts.block

Defined in

types.ts:35


caller

Optional caller: Address

The address that ran this code (msg.sender). Defaults to the zero address.

Inherited from

EVMRunOpts.caller

Defined in

types.ts:47


code

Optional code: Uint8Array

The EVM code to run.

Inherited from

EVMRunOpts.code

Defined in

types.ts:51


createdAddresses

Optional createdAddresses: Set<string>

Created addresses in current context. Used in EIP 6780

Defined in

types.ts:108


data

Optional data: Uint8Array

The input data.

Inherited from

EVMRunOpts.data

Defined in

types.ts:55


delegatecall

Optional delegatecall: boolean

If the call is a DELEGATECALL. Defaults to false.

Defined in

types.ts:117


depth

Optional depth: number

The call depth. Defaults to 0

Inherited from

EVMRunOpts.depth

Defined in

types.ts:67


gasLimit

Optional gasLimit: bigint

The gas limit for the call. Defaults to 16777215 (0xffffff)

Inherited from

EVMRunOpts.gasLimit

Defined in

types.ts:59


gasPrice

Optional gasPrice: bigint

The gas price for the call. Defaults to 0

Inherited from

EVMRunOpts.gasPrice

Defined in

types.ts:39


gasRefund

Optional gasRefund: bigint

Refund counter. Defaults to 0

Defined in

types.ts:121


isCompiled

Optional isCompiled: boolean

If the code location is a precompile.

Defined in

types.ts:100


isStatic

Optional isStatic: boolean

If the call should be executed statically. Defaults to false.

Inherited from

EVMRunOpts.isStatic

Defined in

types.ts:71


message

Optional message: Message

Optionally pass in an already-built message.

Defined in

types.ts:125


origin

Optional origin: Address

The address where the call originated from. Defaults to the zero address.

Inherited from

EVMRunOpts.origin

Defined in

types.ts:43


salt

Optional salt: Uint8Array

An optional salt to pass to CREATE2.

Defined in

types.ts:104


selfdestruct

Optional selfdestruct: Set<string>

Addresses to selfdestruct. Defaults to the empty set.

Inherited from

EVMRunOpts.selfdestruct

Defined in

types.ts:75


skipBalance

Optional skipBalance: boolean

Skip balance checks if true. If caller balance is less than message value, sets balance to message value to ensure execution doesn’t fail.

Defined in

types.ts:113


to

Optional to: Address

The address of the account that is executing this code (address(this)). Defaults to the zero address.

Inherited from

EVMRunOpts.to

Defined in

types.ts:79


value

Optional value: bigint

The value in ether that is being sent to opts.address. Defaults to 0

Inherited from

EVMRunOpts.value

Defined in

types.ts:63