Private
#bytesPrivate
#integerPrivate
#kindPrivate
#listPrivate
#mapPrivate
#originalPrivate
#textDown casts this TransactionMetadatum instance as a MetadatumList instance.
The MetadatumList instance or undefined if it can not be 'down cast'.
Down casts this TransactionMetadatum instance as a MetadatumMap instance.
The MetadatumMap instance or undefined if it can not be 'down cast'.
Indicates whether some other TransactionMetadatum is "equal to" this one.
true if objects are equals; otherwise false.
The other object to be compared.
Gets the underlying type of this TransactionMetadatum instance.
The underlying type.
Static
Private
bufferStatic
fromDeserializes a TransactionMetadatum instance from its CBOR representation.
A TransactionMetadatum instance.
The CBOR representation of this instance as a Uint8Array.
Static
fromCreates a TransactionMetadatum object from the given Core TransactionMetadatum object.
Static
Private
mapMaps to Core metadatum list from MetadatumList.
The MetadatumList
Static
newCreate a TransactionMetadatum type from the given Uint8Array.
The Uint8Array as a MetadatumList object.
The Uint8Array to be 'cast' as TransactionMetadatum.
Static
newCreate a TransactionMetadatum type from the given bigint.
The bigint as a MetadatumList object.
The bigint to be 'cast' as TransactionMetadatum.
Static
newCreate a TransactionMetadatum type from the given MetadatumList.
The MetadatumMap as a MetadatumList object.
The MetadatumList to be 'cast' as TransactionMetadatum.
Static
newCreate a TransactionMetadatum type from the given MetadatumMap.
The MetadatumMap as a TransactionMetadatum object.
The MetadatumMap to be 'cast' as TransactionMetadatum.
Static
newCreate a TransactionMetadatum type from the given string.
The string as a MetadatumList object.
The string to be 'cast' as TransactionMetadatum.
Generated using TypeDoc
Transaction metadatum (or simply metadata) is supplementary information that can be attached to a transaction. Unlike the core components of a transaction (such as inputs, outputs, and witnesses), metadata isn't used to determine transaction validity. Instead, it provides a way to embed additional, arbitrary data into the blockchain.