Skip to content

EvmRunCallOpts

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

Extends

  • EVMRunOpts

Properties

accessWitness?

optional accessWitness: AccessWitnessInterface

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:114


blobVersionedHashes?

optional blobVersionedHashes: Uint8Array[]

Versioned hashes for each blob in a blob transaction

Inherited from

EVMRunOpts.blobVersionedHashes

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:76


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

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:28


caller?

optional caller: EthjsAddress

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

Inherited from

EVMRunOpts.caller

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:40


code?

optional code: Uint8Array

The EVM code to run.

Inherited from

EVMRunOpts.code

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:44


createdAddresses?

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

Created addresses in current context. Used in EIP 6780

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:96


data?

optional data: Uint8Array

The input data.

Inherited from

EVMRunOpts.data

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:48


delegatecall?

optional delegatecall: boolean

If the call is a DELEGATECALL. Defaults to false.

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:105


depth?

optional depth: number

The call depth. Defaults to 0

Inherited from

EVMRunOpts.depth

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:60


gasLimit?

optional gasLimit: bigint

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

Inherited from

EVMRunOpts.gasLimit

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:52


gasPrice?

optional gasPrice: bigint

The gas price for the call. Defaults to 0

Inherited from

EVMRunOpts.gasPrice

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:32


gasRefund?

optional gasRefund: bigint

Refund counter. Defaults to 0

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:109


isCompiled?

optional isCompiled: boolean

If the code location is a precompile.

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:88


isStatic?

optional isStatic: boolean

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

Inherited from

EVMRunOpts.isStatic

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:64


message?

optional message: EthjsMessage

Optionally pass in an already-built message.

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:113


origin?

optional origin: EthjsAddress

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

Inherited from

EVMRunOpts.origin

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:36


salt?

optional salt: Uint8Array

An optional salt to pass to CREATE2.

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:92


selfdestruct?

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

Addresses to selfdestruct. Defaults to the empty set.

Inherited from

EVMRunOpts.selfdestruct

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:68


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

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:101


to?

optional to: EthjsAddress

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

Inherited from

EVMRunOpts.to

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:72


value?

optional value: bigint

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

Inherited from

EVMRunOpts.value

Defined in

node_modules/.pnpm/@ethereumjs+evm@3.1.0/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:56