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 Object → MoveViewArg
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
Bool(Boolean)
public static MoveViewArg Bool(bool value)
Parameters
value Boolean
Returns
Json(String)
public static MoveViewArg Json(string value)
Parameters
value String
Returns
Null()
public static MoveViewArg Null()
Returns
ObjectId(ObjectId)
public static MoveViewArg ObjectId(ObjectId value)
Parameters
value ObjectId
Returns
Option(MoveViewArg)
public static MoveViewArg Option(MoveViewArg? value)
Parameters
value MoveViewArg?
Returns
String(String)
public static MoveViewArg String(string value)
Parameters
value String
Returns
StringVec(String[])
public static MoveViewArg StringVec(String[] values)
Parameters
values String[]
Returns
U128(String)
public static MoveViewArg U128(string value)
Parameters
value String
Returns
U16(UInt16)
public static MoveViewArg U16(ushort value)
Parameters
value UInt16
Returns
U32(UInt32)
public static MoveViewArg U32(uint value)
Parameters
value UInt32
Returns
U64(UInt64)
public static MoveViewArg U64(ulong value)
Parameters
value UInt64
Returns
U8(Byte)
public static MoveViewArg U8(byte value)
Parameters
value Byte
Returns
U8Vec(Byte[])
public static MoveViewArg U8Vec(Byte[] values)
Parameters
values Byte[]