Skip to content

callHandlerResult

callHandlerResult(evmResult, txHash, trace, accessList): CallResult<TevmCallError>

Creates an CallHandler for handling call params with Ethereumjs EVM

Parameters

evmResult: RunTxResult

txHash: undefined | `0x${string}`

trace: undefined | DebugTraceCallResult

accessList: undefined | Map<string, Set<string>>

returned by the evm

Returns

CallResult<TevmCallError>

Throws

any error means the input and output types were invalid or some invariant was broken

Defined in

packages/actions/src/Call/callHandlerResult.js:14