@ethereumjs/evm / EVMRunCodeOpts
Defined in: types.ts:111
Options for EVM.runCode.
EVMRunOpts
optionalblobVersionedHashes?:`0x${string}`[]
Defined in: types.ts:105
Versioned hashes for each blob in a blob transaction
EVMRunOpts.blobVersionedHashes
optionalblock?:Block
Defined in: types.ts:57
The block the tx belongs to. If omitted a default blank block will be used.
EVMRunOpts.block
optionalcaller?:Address
Defined in: types.ts:69
The address that ran this code (msg.sender). Defaults to the zero address.
EVMRunOpts.caller
optionalcode?:Uint8Array<ArrayBufferLike>
Defined in: types.ts:73
The EVM code to run.
EVMRunOpts.code
optionaldata?:Uint8Array<ArrayBufferLike>
Defined in: types.ts:77
The input data.
EVMRunOpts.data
optionaldepth?:number
Defined in: types.ts:89
The call depth. Defaults to 0
EVMRunOpts.depth
optionalgasLimit?:bigint
Defined in: types.ts:81
The gas limit for the call. Defaults to 16777215 (0xffffff)
EVMRunOpts.gasLimit
optionalgasPrice?:bigint
Defined in: types.ts:61
The gas price for the call. Defaults to 0
EVMRunOpts.gasPrice
optionalisStatic?:boolean
Defined in: types.ts:93
If the call should be executed statically. Defaults to false.
EVMRunOpts.isStatic
optionalorigin?:Address
Defined in: types.ts:65
The address where the call originated from. Defaults to the zero address.
EVMRunOpts.origin
optionalpc?:number
Defined in: types.ts:115
Initial program counter. Defaults to 0.
optionalselfdestruct?:SelfdestructMap
Defined in: types.ts:97
Selfdestructed addresses mapped to their beneficiary. Defaults to the empty map.
EVMRunOpts.selfdestruct
optionalto?:Address
Defined in: types.ts:101
The address of the account that is executing this code (address(this)). Defaults to the zero address.
EVMRunOpts.to
optionalvalue?:bigint
Defined in: types.ts:85
The value in ether that is being sent to opts.address. Defaults to 0
EVMRunOpts.value