Skip to main content

MoveViewArg

Namespace: IotaSdk

An argument for a Move View Function call.

This enum represents the different types of values that can be passed as arguments to a Move View Function.

public class MoveViewArg : IMoveViewArg, System.IDisposable

Inheritance ObjectMoveViewArg
Implements IMoveViewArg, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors

MoveViewArg(UInt64)

public MoveViewArg(ulong pointer)

Parameters

pointer UInt64

Methods

Destroy()

public void Destroy()

Dispose()

public void Dispose()

Address(Address)

public static MoveViewArg Address(Address value)

Parameters

value Address

Returns

MoveViewArg

Bool(Boolean)

public static MoveViewArg Bool(bool value)

Parameters

value Boolean

Returns

MoveViewArg

Json(String)

public static MoveViewArg Json(string value)

Parameters

value String

Returns

MoveViewArg

Null()

public static MoveViewArg Null()

Returns

MoveViewArg

ObjectId(ObjectId)

public static MoveViewArg ObjectId(ObjectId value)

Parameters

value ObjectId

Returns

MoveViewArg

Option(MoveViewArg)

public static MoveViewArg Option(MoveViewArg? value)

Parameters

value MoveViewArg?

Returns

MoveViewArg

String(String)

public static MoveViewArg String(string value)

Parameters

value String

Returns

MoveViewArg

StringVec(String[])

public static MoveViewArg StringVec(String[] values)

Parameters

values String[]

Returns

MoveViewArg

U128(String)

public static MoveViewArg U128(string value)

Parameters

value String

Returns

MoveViewArg

U16(UInt16)

public static MoveViewArg U16(ushort value)

Parameters

value UInt16

Returns

MoveViewArg

U32(UInt32)

public static MoveViewArg U32(uint value)

Parameters

value UInt32

Returns

MoveViewArg

U64(UInt64)

public static MoveViewArg U64(ulong value)

Parameters

value UInt64

Returns

MoveViewArg

U8(Byte)

public static MoveViewArg U8(byte value)

Parameters

value Byte

Returns

MoveViewArg

U8Vec(Byte[])

public static MoveViewArg U8Vec(Byte[] values)

Parameters

values Byte[]

Returns

MoveViewArg