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
>
Source
precompiles/src/defineCall.ts:21