ObjectDataInterface
interface ObjectDataInterface
Object data, either a package or struct
BCS
The BCS serialized form of this type is specified in bcs-schema.abnf.
Inheritors
| ObjectData |
Functions
| Name | Summary |
|---|---|
| asOptPackage | abstract fun asOptPackage(): MovePackage? Try to interpret this object as a MovePackage |
| asOptStruct | abstract fun asOptStruct(): MoveStruct? Try to interpret this object as a MoveStruct |
| isPackage | abstract fun isPackage(): Boolean Return whether this object is a MovePackage |
| isStruct | abstract fun isStruct(): Boolean Return whether this object is a MoveStruct |
| toBcs | abstract fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | abstract fun toDisplayString(): String Render this type as human-readable text. |
| toJson | abstract fun toJson(): String Convert this type to a JSON encoded string. |