Skip to main content

MoveViewArg

MoveViewArg​

class MoveViewArg

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.

address(value:)​

static func address(value: Address) -> MoveViewArg

bool(value:)​

static func bool(value: Bool) -> MoveViewArg

json(value:)​

static func json(value: String) -> MoveViewArg

null()​

static func null() -> MoveViewArg

objectId(value:)​

static func objectId(value: ObjectId) -> MoveViewArg

option(value:)​

static func option(value: MoveViewArg?) -> MoveViewArg

string(value:)​

static func string(value: String) -> MoveViewArg

stringVec(values:)​

static func stringVec(values: [String]) -> MoveViewArg

u128(value:)​

static func u128(value: String) -> MoveViewArg

u16(value:)​

static func u16(value: UInt16) -> MoveViewArg

u32(value:)​

static func u32(value: UInt32) -> MoveViewArg

u64(value:)​

static func u64(value: UInt64) -> MoveViewArg

u8(value:)​

static func u8(value: UInt8) -> MoveViewArg

u8Vec(values:)​

static func u8Vec(values: Data) -> MoveViewArg