ContractResult
ContractResult<
TAbi
,TFunctionName
,ErrorType
>:Omit
<CallResult
,"errors"
> &object
|CallResult
<ErrorType
> &object
The result type for a TEVM contract call.
This type extends the CallResult
type with additional contract-specific fields, and it supports both success and error states.
Type Parameters
• TAbi extends Abi
| readonly unknown
[] = Abi
The ABI type.
• TFunctionName extends ContractFunctionName
<TAbi
> = ContractFunctionName
<TAbi
>
The function name type from the ABI.
• ErrorType = TevmContractError
The error type.