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<ExtractAbiEvents<TAbi> &object>
Logs emitted during contract execution. Logs must match the interface of the ABI
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
Source
precompiles/src/CallResult.ts:7