Skip to main content

ViewFunctionCallOutputs

@iota/grpc


@iota/grpc / ViewFunctionCallOutputs

Type Alias: ViewFunctionCallOutputs

ViewFunctionCallOutputs = Message<"iota.grpc.v1.transaction_execution_service.ViewFunctionCallOutputs"> & object

Defined in: sdk/grpc/src/proto/iota/grpc/v1/transaction_execution_service_pb.ts:425

The outcome of running a single view function call.

Type Declaration​

executionResult​

executionResult: { case: "returnValues"; value: CommandOutputs; } | { case: "executionError"; value: ExecutionError; } | { case: undefined; value?: undefined; }

Union Members​

Type Literal​

{ case: "returnValues"; value: CommandOutputs; }

case​

case: "returnValues"

value​

value: CommandOutputs

The values the function returned.

Generated​

from field: iota.grpc.v1.command.CommandOutputs return_values = 1;


Type Literal​

{ case: "executionError"; value: ExecutionError; }

case​

case: "executionError"

value​

value: ExecutionError

Why the call aborted.

Generated​

from field: iota.grpc.v1.transaction_execution_service.ExecutionError execution_error = 2;


Type Literal​

{ case: undefined; value?: undefined; }

Generated​

from oneof iota.grpc.v1.transaction_execution_service.ViewFunctionCallOutputs.execution_result

Generated​

from message iota.grpc.v1.transaction_execution_service.ViewFunctionCallOutputs