MetadatumKind
- class cometa.auxiliary_data.metadatum_kind.MetadatumKind(value)[source]
Bases:
IntEnumRepresents the type of transaction metadatum.
Transaction metadata in Cardano can be one of five types: maps, lists, integers, byte strings, or text strings.
- MAP = 0
A map with metadatum keys and values.
- LIST = 1
A list of metadatum values.
- INTEGER = 2
An arbitrary-precision integer.
- BYTES = 3
A bounded byte string (max 64 bytes).
- TEXT = 4
A text string (max 64 bytes when UTF-8 encoded).