Skip to content

callHandlerOpts

callHandlerOpts(client, params): Promise<object>

Parses user provided params into ethereumjs options to pass into the EVM

Parameters

client: BaseClient<"fork" | "normal", object>

params: CallParams<boolean>

Returns

Promise<object>

data?

optional data: EvmRunCallOpts

errors?

optional errors: CallHandlerOptsError[]

Throws

Returns all errors as values

Source

packages/actions/src/Call/callHandlerOpts.js:17