Class: TaggedDataPayload
A Tagged Data payload.
Hierarchy
↳
TaggedDataPayload
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new TaggedDataPayload(tag
, data
)
Parameters
Name | Type | Description |
---|---|---|
tag | string | A tag as hex-encoded string. |
data | string | Index data as hex-encoded string. |
Overrides
Properties
type
• Readonly
type: PayloadType
Inherited from
tag
• tag: string
The tag to use to categorize the data.
data
• data: string
The index data.
Methods
getType
▸ getType(): PayloadType
Get the type of payload.