Skip to content

contractHandler

contractHandler(client, options?): ContractHandler

Parameters

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

The TEVM base client instance.

options? = {}

Optional parameters.

options.throwOnFail?: undefined | boolean = true

Whether to throw an error on failure.

Returns

ContractHandler

The contract handler function.

Defined in

packages/actions/src/Contract/contractHandler.js:38