Skip to content

handleTransactionCreation

handleTransactionCreation(client, params, executedCall, evmInput): Promise<object | object>

Handles the creation of a transaction based on the call parameters and execution result.

Parameters

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

The TEVM base client instance.

params: CallParams<boolean>

The call parameters.

executedCall: ExecuteCallResult

The result of the executed call.

evmInput: EvmRunCallOpts

The EVM input parameters.

Returns

Promise<object | object>

A promise that resolves to the transaction hash or undefined.

Throws

Returns errors as values

Defined in

packages/actions/src/Call/handleTransactionCreation.js:15