Class TopicData
Topic information retrieved from a mirror node.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class TopicData
Properties
| Edit this page View SourceAdministrator
The public administrator endorsements required for controlling this
topic, or null when the topic has no admin key and can no
longer be updated or deleted.
Declaration
[JsonPropertyName("admin_key")]
public Endorsement? Administrator { get; set; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
AutoRenewAccount
The ID of the associated auto renew account
Declaration
[JsonPropertyName("auto_renew_account")]
public EntityId? AutoRenewAccount { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
AutoRenewPeriod
Topics Auto-Renew Period in seconds.
Declaration
[JsonPropertyName("auto_renew_period")]
[JsonConverter(typeof(LongMirrorConverter))]
public long AutoRenewPeriod { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Created
Consensus Timestamp when this topic was created
Declaration
[JsonPropertyName("created_timestamp")]
public ConsensusTimeStamp Created { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |
Deleted
Flag indicating that the topic has been deleted.
Declaration
[JsonPropertyName("deleted")]
[JsonConverter(typeof(BooleanMirrorConverter))]
public bool Deleted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Memo
The topic's memo.
Declaration
[JsonPropertyName("memo")]
public string Memo { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Royalties
The custom fees (HIP-991) charged for each message submitted to the topic. A topic carries fixed fees only, so the fractional and royalty fee lists are always empty.
Declaration
[JsonPropertyName("custom_fees")]
public CustomFeeData? Royalties { get; set; }
Property Value
| Type | Description |
|---|---|
| CustomFeeData |
RoyaltiesEndorsement
The endorsement required to change the topic's custom fees (HIP-991); null when the fees cannot be changed.
Declaration
[JsonPropertyName("fee_schedule_key")]
public Endorsement? RoyaltiesEndorsement { get; set; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
RoyaltyExemptEndorsements
Endorsements whose signers may submit messages to the topic without paying its custom fees (HIP-991).
Declaration
[JsonPropertyName("fee_exempt_key_list")]
public Endorsement[] RoyaltyExemptEndorsements { get; set; }
Property Value
| Type | Description |
|---|---|
| Endorsement[] |
Submit
The public submit endorsements required for submitting messages to
this topic, or null when anyone may submit.
Declaration
[JsonPropertyName("submit_key")]
public Endorsement? Submit { get; set; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
TimestampRange
The consensus timestamp range this topic covers.
Declaration
[JsonPropertyName("timestamp")]
public TimestampRangeData TimestampRange { get; set; }
Property Value
| Type | Description |
|---|---|
| TimestampRangeData |
Topic
The ID of the topic
Declaration
[JsonPropertyName("topic_id")]
public EntityId Topic { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |