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.

Hierarchy

  • TransactionMetadatum

Constructors

Properties

#bytes: undefined | Uint8Array = undefined
#integer: undefined | bigint = undefined
#kind: Serialization.TransactionMetadatumKind = TransactionMetadatumKind.Map
#list: undefined | Serialization.MetadatumList = undefined
#map: undefined | Serialization.MetadatumMap = undefined
#originalBytes: undefined | HexBlob = undefined
#text: undefined | string = undefined

Methods

Generated using TypeDoc