Skip to content

CallResult

CallResult<TAbi, TFunctionName>: object

A result of a precompile javascript call

Type parameters

Parameter
TAbi extends Abi
TFunctionName extends string

Type declaration

blobGasUsed

blobGasUsed?: bigint

Amount of blob gas consumed by the transaction

error

error?: TypedError<string>

Any Error thrown during execution

executionGasUsed

executionGasUsed: bigint

The amount of gas used during execution.

logs

logs?: 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

selfdestruct?: Set<Address>

A set of accounts to selfdestruct

Source

precompiles/src/CallResult.ts:13


Generated using typedoc-plugin-markdown and TypeDoc