GrpcViewFunctionCallResult
Namespace: IotaSdk
The result of a single call in a batch of Move view function calls: either the outputs of the call or the error the node returned for it.
public record class GrpcViewFunctionCallResult : System.IDisposable, System.IEquatable`1[[IotaSdk.GrpcViewFunctionCallResult, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → GrpcViewFunctionCallResult
Implements IDisposable, IEquatable<GrpcViewFunctionCallResult>
Attributes NullableContextAttribute, NullableAttribute
Properties
Outputs
The outputs of the call, if the node ran it. A call that ran and aborted still has outputs,
with the abort in execution_error.
public GrpcViewFunctionCallOutputs? Outputs { get; init; }
Property Value
Error
The error message, if the node refused to run the call.
public string? Error { get; init; }
Property Value
Constructors
GrpcViewFunctionCallResult(GrpcViewFunctionCallOutputs, String)
The result of a single call in a batch of Move view function calls: either the outputs of the call or the error the node returned for it.
public GrpcViewFunctionCallResult(GrpcViewFunctionCallOutputs? Outputs, string? Error)
Parameters
Outputs GrpcViewFunctionCallOutputs?
The outputs of the call, if the node ran it. A call that ran and aborted still has outputs,
with the abort in execution_error.
Error String?
The error message, if the node refused to run the call.
Methods
Dispose()
public void Dispose()