Skip to main content

MoveViewArg

open class MoveViewArg : Disposable, AutoCloseable, MoveViewArgInterface

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.

Functions

NameSummary
close@Synchronized
open override fun close()
destroyopen override fun destroy()

Companion object functions

NameSummary
addressfun address(value: Address): MoveViewArg
boolfun bool(value: Boolean): MoveViewArg
jsonfun json(value: String): MoveViewArg
nullfun null(): MoveViewArg
objectIdfun objectId(value: ObjectId): MoveViewArg
optionfun option(value: MoveViewArg?): MoveViewArg
stringfun string(value: String): MoveViewArg
stringVecfun stringVec(values: List<String>): MoveViewArg
u128fun u128(value: String): MoveViewArg
u16fun u16(value: UShort): MoveViewArg
u32fun u32(value: UInt): MoveViewArg
u64fun u64(value: ULong): MoveViewArg
u8fun u8(value: UByte): MoveViewArg
u8Vecfun u8Vec(values: ByteArray): MoveViewArg