@ethereumjs/evm / EVMRunCallOpts
Defined in: types.ts:113
Options for running a call (or create) operation with EVM.runCall()
EVMRunOpts
optional
accessWitness:VerkleAccessWitnessInterface
|BinaryTreeAccessWitnessInterface
Defined in: types.ts:144
optional
blobVersionedHashes:`0x${string}`
[]
Defined in: types.ts:100
Versioned hashes for each blob in a blob transaction
EVMRunOpts.blobVersionedHashes
optional
block:Block
Defined in: types.ts:52
The block
the tx
belongs to. If omitted a default blank block will be used.
EVMRunOpts.block
optional
caller:Address
Defined in: types.ts:64
The address that ran this code (msg.sender
). Defaults to the zero address.
EVMRunOpts.caller
optional
code:Uint8Array
<ArrayBufferLike
>
Defined in: types.ts:68
The EVM code to run.
EVMRunOpts.code
optional
createdAddresses:Set
<`0x${string}`
>
Defined in: types.ts:125
Created addresses in current context. Used in EIP 6780
optional
data:Uint8Array
<ArrayBufferLike
>
Defined in: types.ts:72
The input data.
EVMRunOpts.data
optional
delegatecall:boolean
Defined in: types.ts:134
If the call is a DELEGATECALL. Defaults to false.
optional
depth:number
Defined in: types.ts:84
The call depth. Defaults to 0
EVMRunOpts.depth
optional
gasLimit:bigint
Defined in: types.ts:76
The gas limit for the call. Defaults to 16777215
(0xffffff
)
EVMRunOpts.gasLimit
optional
gasPrice:bigint
Defined in: types.ts:56
The gas price for the call. Defaults to 0
EVMRunOpts.gasPrice
optional
gasRefund:bigint
Defined in: types.ts:138
Refund counter. Defaults to 0
optional
isCompiled:boolean
Defined in: types.ts:117
If the code location is a precompile.
optional
isStatic:boolean
Defined in: types.ts:88
If the call should be executed statically. Defaults to false.
EVMRunOpts.isStatic
optional
message:Message
Defined in: types.ts:142
Optionally pass in an already-built message.
optional
origin:Address
Defined in: types.ts:60
The address where the call originated from. Defaults to the zero address.
EVMRunOpts.origin
optional
salt:Uint8Array
<ArrayBufferLike
>
Defined in: types.ts:121
An optional salt to pass to CREATE2.
optional
selfdestruct:Set
<`0x${string}`
>
Defined in: types.ts:92
Addresses to selfdestruct. Defaults to the empty set.
EVMRunOpts.selfdestruct
optional
skipBalance:boolean
Defined in: types.ts:130
Skip balance checks if true. If caller balance is less than message value, sets balance to message value to ensure execution doesn’t fail.
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.
EVMRunOpts.to
optional
value:bigint
Defined in: types.ts:80
The value in ether that is being sent to opts.address
. Defaults to 0
EVMRunOpts.value