Class Message

Represents a message with a payload, topic, and related metadata.

Hierarchy

  • Message

Constructors

Properties

blockIndex: number

The index of the block where the message was included.

hashAddr: Hash

The entity address associated with the message, often the sender or origin.

The payload of the message, which can either be a string or bytes.

topicIndex: number

The index of the topic within the block.

topicName: string

The name of the topic associated with this message.

topicNameHash: Hash

The hash of the topic name, which is used to identify the topic.

Generated using TypeDoc