Skip to main content

GrpcViewFunctionCallOutputs

Namespace: IotaSdk

The outputs of a Move view function call.

Exactly one of return_values and execution_error is populated when the read mask includes execution_result: the first if the call returned, the second if it aborted.

public record class GrpcViewFunctionCallOutputs : System.IDisposable, System.IEquatable`1[[IotaSdk.GrpcViewFunctionCallOutputs, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → GrpcViewFunctionCallOutputs
Implements IDisposable, IEquatable<GrpcViewFunctionCallOutputs>
Attributes NullableContextAttribute, NullableAttribute

Properties​

ReturnValues​

The values the function returned.

public GrpcCommandOutput[]? ReturnValues { get; init; }

Property Value​

GrpcCommandOutput[]

ExecutionError​

Why the call aborted.

public GrpcSimulatedExecutionError? ExecutionError { get; init; }

Property Value​

GrpcSimulatedExecutionError

Constructors​

GrpcViewFunctionCallOutputs(GrpcCommandOutput[], GrpcSimulatedExecutionError)​

The outputs of a Move view function call.

Exactly one of return_values and execution_error is populated when the read mask includes execution_result: the first if the call returned, the second if it aborted.

public GrpcViewFunctionCallOutputs(GrpcCommandOutput[]? ReturnValues, GrpcSimulatedExecutionError? ExecutionError)

Parameters​

ReturnValues GrpcCommandOutput[]?
The values the function returned.

ExecutionError GrpcSimulatedExecutionError?
Why the call aborted.

Methods​

Dispose()​

public void Dispose()