CallResult
CallResult<
TAbi
,TFunctionName
>:object
A result of a precompile javascript call
Type Parameters
• TAbi extends Abi
• TFunctionName extends string
Type declaration
blobGasUsed?
optional
blobGasUsed:bigint
Amount of blob gas consumed by the transaction
error?
optional
error:TypedError
<string
>
Any Error thrown during execution
executionGasUsed
executionGasUsed:
bigint
The amount of gas used during execution.
logs?
optional
logs:ReadonlyArray
<object
>
Logs emitted during contract execution. Logs must match the interface of the ABI
Type declaration
address
address:
Address
args
args:
EncodeEventTopicsParameters
<TAbi
,ContractEventName
<TAbi
>>["args"
]
eventName
eventName:
EncodeEventTopicsParameters
<TAbi
,ContractEventName
<TAbi
>>["eventName"
]
returnValue
returnValue:
AbiParametersToPrimitiveTypes
<ExtractAbiFunction
<TAbi
,TFunctionName
>["outputs"
]>[0
]
The return value of the call. Required even on exceptions
selfdestruct?
optional
selfdestruct:Set
<Address
>
A set of accounts to selfdestruct