Skip to main content

Class: TaggedDataPayload

A Tagged Data payload.

Hierarchy​

Table of contents​

Constructors​

Properties​

Methods​

Constructors​

constructor​

• new TaggedDataPayload(tag, data)

Parameters​

NameTypeDescription
tagstringA tag as hex-encoded string.
datastringIndex data as hex-encoded string.

Overrides​

Payload.constructor

Properties​

type​

• Readonly type: PayloadType

Inherited from​

Payload.type


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.

Returns​

PayloadType

Inherited from​

Payload.getType