Show / Hide Table of Contents

Class SubmitMessageParams

Advanced Submit Message Parameters, includes Segment Information.

Inheritance
Object
SubmitMessageParams
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class SubmitMessageParams
Remarks

The hedera network does not validate the segment information submitted to a consensus topic. This metadata must be validated upon consumption and there can be gaps and inconsistencies in the resulting mirror HCS stream for the related topic.

Properties

| Improve this Doc View Source

Index

The index of this segment (one based).

Declaration
public int Index { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

ParentTxId

The transaction the created the first segment of the message. This acts as a correlation identifier to coalesce the segments of the message int one.

Declaration
public TxId ParentTxId { get; set; }
Property Value
Type Description
TxId
Remarks

This must be left to be null when sending the first segment of a message. The value of the transaction ID returned from the receipt or record will contain the value assocated with this parameter for the first segment. This value must be included in subsequent segments for this message.

| Improve this Doc View Source

Segment

The value of this segment of the message, limited to the 4K total Network Transaction Size.

Declaration
public ReadOnlyMemory<byte> Segment { get; set; }
Property Value
Type Description
ReadOnlyMemory<Byte>
| Improve this Doc View Source

Signatory

The signatory containing any additional private keys or callbacks to meet the key signing requirements for participants.

Declaration
public Signatory Signatory { get; set; }
Property Value
Type Description
Signatory
| Improve this Doc View Source

Topic

The address of the topic for the message.

Declaration
public Address Topic { get; set; }
Property Value
Type Description
Address
| Improve this Doc View Source

TotalSegmentCount

The total number of segments making up the whole of the message when assembled.

Declaration
public int TotalSegmentCount { get; set; }
Property Value
Type Description
Int32
  • Improve this Doc
  • View Source
In This Article
Back to top .NET Client Library for Hedera Hashgraph