MoveValue
No description
type MoveValue {
bcs: Base64
display: Display
json: JSON
type: MoveType
}
Fields
MoveValue.bcs ● Base64 scalar
The BCS representation of this value, Base64-encoded.
MoveValue.display ● Display object
A rendered JSON blob based on an on-chain template, substituted with data from this value.
Returns null if the value's type does not have an associated Display template.
MoveValue.json ● JSON scalar
Representation of a Move value in JSON, where:
- Addresses, IDs, and UIDs are represented in canonical form, as JSON strings.
- Bools are represented by JSON boolean literals.
- u8, u16, and u32 are represented as JSON numbers.
- u64, u128, and u256 are represented as JSON strings.
- Balances, Strings, and Urls are represented as JSON strings.
- Vectors of bytes are represented as Base64 blobs, and other vectors are represented by JSON arrays.
- Structs are represented by JSON objects.
- Enums are represented by JSON objects, with a field named
@variantcontaining the variant name. - Empty optional values are represented by
null.
MoveValue.type ● MoveType object
The value's type.
Member Of
CoinMetadata object ● CommandOutput object ● DynamicField object ● Event object ● IMoveObject interface ● MoveObject object
Implemented By
DynamicFieldValue union