Type alias MoveValue

Possible Move values acceptable by move functions (entry, view)

Map of a Move value to the corresponding TypeScript value

Bool -> boolean

u8, u16, u32 -> number

u64, u128, u256 -> string

String -> string

Address -> 0x${string}

Struct - 0x${string}::${string}::${string}

Object -> 0x${string}

Vector -> Array<MoveValue>

Option -> MoveValue | null | undefined

Generated using TypeDoc