Options for the runCode method.
RunCodeOpts
- address
- block
- caller
- code
- data
- depth
- evm
- gasLimit
- gasPrice
- isStatic
- message
- origin
- pc
- selfdestruct
- txContext
- value
● address: Buffer
Defined in runCode.ts:63
The address of the account that is executing this code. The address should be a Buffer of bytes. Defaults to 0
● block: any
Defined in runCode.ts:28
The Block the tx belongs to. If omitted a blank block will be used
● caller: Buffer
Defined in runCode.ts:40
The address that ran this code. The address should be a Buffer of 20bits. Defaults to 0
● code: Buffer
Defined in runCode.ts:44
The EVM code to run
● data: Buffer
Defined in runCode.ts:48
The input data
● depth: undefined | number
Defined in runCode.ts:57
● evm: EVM
Defined in runCode.ts:29
● gasLimit: Buffer
Defined in runCode.ts:52
Gas limit
● gasPrice: Buffer
Defined in runCode.ts:31
● isStatic: undefined | false | true
Defined in runCode.ts:58
● message: Message
Defined in runCode.ts:36
● origin: Buffer
Defined in runCode.ts:35
The address where the call originated from. The address should be a Buffer of 20bits. Defaults to 0
● pc: undefined | number
Defined in runCode.ts:67
The initial program counter. Defaults to 0
● selfdestruct: undefined | object
Defined in runCode.ts:59
● txContext: TxContext
Defined in runCode.ts:30
● value: Buffer
Defined in runCode.ts:56
The value in ether that is being sent to opt.address. Defaults to 0