EvmRunCallOpts
Options for running a call (or create) operation with EVM.runCall()
Extends
EVMRunOpts
Properties
accessWitness?
optionalaccessWitness:AccessWitnessInterface
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:114
blobVersionedHashes?
optionalblobVersionedHashes:Uint8Array[]
Versioned hashes for each blob in a blob transaction
Inherited from
EVMRunOpts.blobVersionedHashes
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:76
block?
optionalblock: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.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:28
caller?
optionalcaller: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.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:40
code?
optionalcode:Uint8Array
The EVM code to run.
Inherited from
EVMRunOpts.code
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:44
createdAddresses?
optionalcreatedAddresses:Set<`0x${string}`>
Created addresses in current context. Used in EIP 6780
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:96
data?
optionaldata:Uint8Array
The input data.
Inherited from
EVMRunOpts.data
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:48
delegatecall?
optionaldelegatecall:boolean
If the call is a DELEGATECALL. Defaults to false.
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:105
depth?
optionaldepth:number
The call depth. Defaults to 0
Inherited from
EVMRunOpts.depth
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:60
gasLimit?
optionalgasLimit:bigint
The gas limit for the call. Defaults to 16777215 (0xffffff)
Inherited from
EVMRunOpts.gasLimit
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:52
gasPrice?
optionalgasPrice:bigint
The gas price for the call. Defaults to 0
Inherited from
EVMRunOpts.gasPrice
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:32
gasRefund?
optionalgasRefund:bigint
Refund counter. Defaults to 0
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:109
isCompiled?
optionalisCompiled:boolean
If the code location is a precompile.
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:88
isStatic?
optionalisStatic:boolean
If the call should be executed statically. Defaults to false.
Inherited from
EVMRunOpts.isStatic
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:64
message?
optionalmessage:EthjsMessage
Optionally pass in an already-built message.
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:113
origin?
optionalorigin: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.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:36
salt?
optionalsalt:Uint8Array
An optional salt to pass to CREATE2.
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:92
selfdestruct?
optionalselfdestruct:Set<`0x${string}`>
Addresses to selfdestruct. Defaults to the empty set.
Inherited from
EVMRunOpts.selfdestruct
Defined in
node_modules/.pnpm/@ethereumjs+evm@3.1.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:68
skipBalance?
optionalskipBalance: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.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:101
to?
optionalto: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.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:72
value?
optionalvalue: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.1/node_modules/@ethereumjs/evm/dist/esm/types.d.ts:56