Class HcsMessageData
Represents an HCS Message retrieved from the mirror node.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class HcsMessageData
Properties
| Edit this page View SourceChunkInfo
HCS Message Chunk Information.
Declaration
[JsonPropertyName("chunk_info")]
public ChunkInfo? ChunkInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| ChunkInfo |
Hash
The running hash of the message (for validation purposes)
Declaration
[JsonPropertyName("running_hash")]
public string Hash { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HashVersion
The version of the running hash (for validation purposes).
Declaration
[JsonPropertyName("running_hash_version")]
[JsonConverter(typeof(IntMirrorConverter))]
public int HashVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Message
Message Payload.
Declaration
[JsonPropertyName("message")]
public string Message { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Payer
The payer account submitting the message.
Declaration
[JsonPropertyName("payer_account_id")]
public EntityId Payer { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
SequenceNumber
Sequence number of this HCS message.
Declaration
[JsonPropertyName("sequence_number")]
[JsonConverter(typeof(UnsignedLongMirrorConverter))]
public ulong SequenceNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong |
TimeStamp
HCS Message Consensus Timestamp.
Declaration
[JsonPropertyName("consensus_timestamp")]
public ConsensusTimeStamp TimeStamp { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |
TopicId
The HCS message stream topic ID for this message.
Declaration
[JsonPropertyName("topic_id")]
public EntityId TopicId { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |