Class TopicMessage
Represents a Topic Message retrieved from a mirror node.
Implements
Inherited Members
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public sealed record TopicMessage : IEquatable<TopicMessage>
Properties
| Edit this page View SourceConsensus
The consensus timestamp.
Declaration
public ConsensusTimeStamp Consensus { get; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |
Message
The content of the message.
Declaration
public ReadOnlyMemory<byte> Message { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |
RunningHash
A SHA-384 Running Hash of the following: Previous RunningHash, TopicId, ConsensusTimestamp, SequenceNumber and this Message Submission.
Declaration
public ReadOnlyMemory<byte> RunningHash { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |
SegmentInfo
Optional metadata that may be attached to a segmented HCS message identifying the index of the segment and which parent message this segment correlates with.
Declaration
public MessageSegmentInfo? SegmentInfo { get; }
Property Value
| Type | Description |
|---|---|
| MessageSegmentInfo |
SequenceNumber
The sequence number of this message submission.
Declaration
public ulong SequenceNumber { get; }
Property Value
| Type | Description |
|---|---|
| ulong |
Topic
The Message's Topic.
Declaration
public EntityId Topic { get; }
Property Value
| Type | Description |
|---|---|
| EntityId |