@ethereumjs/evm / EVMRunCodeOpts
EVMRunOpts
↳ EVMRunCodeOpts
• Optional
blobVersionedHashes: Uint8Array
[]
Versioned hashes for each blob in a blob transaction
EVMRunOpts.blobVersionedHashes
• Optional
block: Block
The block
the tx
belongs to. If omitted a default blank block will be used.
EVMRunOpts.block
• Optional
caller: Address
The address that ran this code (msg.sender
). Defaults to the zero address.
EVMRunOpts.caller
• Optional
code: Uint8Array
The EVM code to run.
EVMRunOpts.code
• Optional
data: Uint8Array
The input data.
EVMRunOpts.data
• Optional
depth: number
The call depth. Defaults to 0
EVMRunOpts.depth
• Optional
gasLimit: bigint
The gas limit for the call. Defaults to 16777215
(0xffffff
)
EVMRunOpts.gasLimit
• Optional
gasPrice: bigint
The gas price for the call. Defaults to 0
EVMRunOpts.gasPrice
• Optional
isStatic: boolean
If the call should be executed statically. Defaults to false.
EVMRunOpts.isStatic
• Optional
origin: Address
The address where the call originated from. Defaults to the zero address.
EVMRunOpts.origin
• Optional
pc: number
• Optional
selfdestruct: Set
<string
>
Addresses to selfdestruct. Defaults to the empty set.
EVMRunOpts.selfdestruct
• Optional
to: Address
The address of the account that is executing this code (address(this)
). Defaults to the zero address.
EVMRunOpts.to
• Optional
value: bigint
The value in ether that is being sent to opts.address
. Defaults to 0
EVMRunOpts.value