The amount of resources consumed during the transaction execution.
The cost associated with the transaction execution.
The gas price of the era.
The effects applied during the transaction execution.
Optional errorThe error message, if any, generated during the execution.
The address of the initiator of the execution.
The execution limit for the transaction.
Optional originThe original execution result in version 1 format, if applicable.
Optional originThe original execution result in version 2 format, if applicable.
Optional paymentThe payment made for the transaction, if any.
The estimated size of the transaction execution.
The transfers included in the transaction execution.
Static fromJSONDeserializes an ExecutionResult from JSON data.
Supports both version 1 and version 2 formats.
The deserialized ExecutionResult.
Error if the data format is invalid or unknown.
The JSON data representing the execution result.
Static fromCreates an ExecutionResult from version 1 of the execution result.
The ExecutionResult created from version 1 data.
The version 1 execution result.
Static toJSONConverts an ExecutionResult instance to a plain JSON object.
This method serializes an ExecutionResult object into a plain JSON structure
using the TypedJSON serializer. It allows for easy conversion of the
ExecutionResult to a JSON-compatible format that can be used for logging,
transmission over the network, or storage.
A plain JSON object representing the ExecutionResult.
The ExecutionResult instance to be converted into a plain JSON object.
Generated using TypeDoc
Represents the result of a transaction execution, which includes the initiator, cost, transfers, and effects.