Class TopicInfo
The information returned from the GetTopicInfo ConsensusClient method call. It represents the details concerning a Hedera Network Consensus Topic.
Implements
Inherited Members
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public sealed record TopicInfo : IEquatable<TopicInfo>
Properties
| Edit this page View SourceAdministrator
An endorsement, when specified, can be used to authorize a modification or deletion of this topic, including control of topic lifetime extensions. Additionally, if null, any account can extend the topic lifetime.
Declaration
public Endorsement? Administrator { get; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
AutoRenewPeriod
Incremental period for auto-renewal of the topic. If auto-renew account does not have sufficient funds to renew at the expiration time, it will be renewed for a period of time the remaining funds can support. If no funds remain, the topic will be deleted.
Declaration
public TimeSpan AutoRenewPeriod { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Expiration
The Consensus Time after which this topic will no longer accept messages. The topic will automatically be deleted after the system defined grace period beyond the expiration time.
Declaration
public ConsensusTimeStamp Expiration { get; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |
Ledger
Identification of the Ledger (Network) this topic information was retrieved from.
Declaration
public BigInteger Ledger { get; }
Property Value
| Type | Description |
|---|---|
| BigInteger |
Memo
The memo associated with the topic instance.
Declaration
public string Memo { get; }
Property Value
| Type | Description |
|---|---|
| string |
Participant
Identifies the key requirements for submitting messages to this topic. If blank, any account may submit messages to this topic, otherwise they must meet the specified signing requirements.
Declaration
public Endorsement? Participant { get; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
RenewAccount
Address of the account supporting the auto renewal of the topic at expiration time. The topic lifetime will be extended by the RenewPeriod at expiration time if this account contains sufficient funds.
Declaration
public EntityId? RenewAccount { get; }
Property Value
| Type | Description |
|---|---|
| EntityId |
RunningHash
A SHA-384 Running Hash of the following: Previous RunningHash, TopicId, ConsensusTimestamp, SequenceNumber and Message
Declaration
public ReadOnlyMemory<byte> RunningHash { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |
SequenceNumber
The number of Messages submitted to this topic at the time of the call to Get Topic Info.
Declaration
public ulong SequenceNumber { get; }
Property Value
| Type | Description |
|---|---|
| ulong |