Expand description
Result and execution types from results of RPC calls to the network.
Structs§
- Execution
- Struct to hold a type we want to return along w/ the execution result view. This view has extra info about the execution, such as gas usage and whether the transaction failed to be processed on the chain.
- Execution
Final Result - Execution related info found after performing a transaction. Can be converted
into
ExecutionSuccessorExecutionFailurethroughinto_result - Execution
Outcome - The execution outcome of a transaction. This type contains all data relevant to calling into a function, and getting the results back.
- Execution
Result - The result after evaluating the status of an execution. This can be
ExecutionSuccessfor successful executions or aExecutionFailurefor failed ones. - Value
- Value type returned from an
ExecutionOutcomeor receipt result. This value can be converted into the underlying Rust datatype, or directly grab the raw bytes associated to the value. - View
Result Details - The result from a call into a View function. This contains the contents or the results from the view function call itself. The consumer of this object can choose how to deserialize its contents.
Enums§
- Value
OrReceipt Id - Value or ReceiptId from a successful execution.
Type Aliases§
- Execution
Failure - Execution related info as a result of performing a failed transaction execution on the network. The related error message can be retrieved from this object or can be forwarded.
- Execution
Success - Execution related info as a result of performing a successful transaction
execution on the network. This value can be converted into the returned
value of the transaction via
ExecutionSuccess::jsonorExecutionSuccess::borsh - Result