ethereumjs-monorepo

@ethereumjs/evm


@ethereumjs/evm / EVMRunCodeOpts

Interface: EVMRunCodeOpts

Defined in: types.ts:103

Extends

Properties

blobVersionedHashes?

optional blobVersionedHashes: `0x${string}`[]

Defined in: types.ts:100

Versioned hashes for each blob in a blob transaction

Inherited from

EVMRunOpts.blobVersionedHashes


block?

optional block: Block

Defined in: types.ts:52

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

Inherited from

EVMRunOpts.block


caller?

optional caller: Address

Defined in: types.ts:64

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

Inherited from

EVMRunOpts.caller


code?

optional code: Uint8Array<ArrayBufferLike>

Defined in: types.ts:68

The EVM code to run.

Inherited from

EVMRunOpts.code


data?

optional data: Uint8Array<ArrayBufferLike>

Defined in: types.ts:72

The input data.

Inherited from

EVMRunOpts.data


depth?

optional depth: number

Defined in: types.ts:84

The call depth. Defaults to 0

Inherited from

EVMRunOpts.depth


gasLimit?

optional gasLimit: bigint

Defined in: types.ts:76

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

Inherited from

EVMRunOpts.gasLimit


gasPrice?

optional gasPrice: bigint

Defined in: types.ts:56

The gas price for the call. Defaults to 0

Inherited from

EVMRunOpts.gasPrice


isStatic?

optional isStatic: boolean

Defined in: types.ts:88

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

Inherited from

EVMRunOpts.isStatic


origin?

optional origin: Address

Defined in: types.ts:60

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

Inherited from

EVMRunOpts.origin


pc?

optional pc: number

Defined in: types.ts:107


selfdestruct?

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

Defined in: types.ts:92

Addresses to selfdestruct. Defaults to the empty set.

Inherited from

EVMRunOpts.selfdestruct


to?

optional to: Address

Defined in: types.ts:96

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

Inherited from

EVMRunOpts.to


value?

optional value: bigint

Defined in: types.ts:80

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

Inherited from

EVMRunOpts.value