CallResult
CallResult<
TAbi,TFunctionName>:object
A result of a precompile javascript call
Type Parameters
• TAbi extends Abi
• TFunctionName extends string
Type declaration
blobGasUsed?
optionalblobGasUsed:bigint
Amount of blob gas consumed by the transaction
error?
optionalerror:TypedError<string>
Any Error thrown during execution
executionGasUsed
executionGasUsed:
bigint
The amount of gas used during execution.
logs?
optionallogs: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?
optionalselfdestruct:Set<Address>
A set of accounts to selfdestruct