defineCall
defineCall<
TAbi
>(abi
,handlers
): (__namedParameters
) =>Promise
<ExecResult
>
Type Parameters
• TAbi extends Abi
Parameters
• abi: TAbi
• handlers: { [TFunctionName in string]: Handler<TAbi, TFunctionName> }
Returns
Function
Parameters
• __namedParameters
• __namedParameters.data: `0x${string}`
• __namedParameters.gasLimit: bigint
Returns
Promise
<ExecResult
>