Skip to main content

MoveViewResult

Namespace: IotaSdk

The result of executing a Move View Function.

Execution errors are captured in the error field, in which case the results field will be None. On success, the results field will contain the return values of the Move view function, and the error field will be None.

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

Inheritance Object → MoveViewResult
Implements IEquatable<MoveViewResult>
Attributes NullableContextAttribute, NullableAttribute

Properties​

Error​

Execution error from executing the Move view function.

public string? Error { get; init; }

Property Value​

String

Results​

The return values of the Move view function, resolved and formatted as JSON.

public String[]? Results { get; init; }

Property Value​

String[]

Constructors​

MoveViewResult(String, String[])​

The result of executing a Move View Function.

Execution errors are captured in the error field, in which case the results field will be None. On success, the results field will contain the return values of the Move view function, and the error field will be None.

public MoveViewResult(string? Error = null, String[]? Results = null)

Parameters​

Error String?
Execution error from executing the Move view function.

Results String[]?
The return values of the Move view function, resolved and formatted as JSON.