| Field | Description |
|---|---|
| Topic ID | The ID of the topic |
| Admin Key | Access control for update/delete of the topic. Null if there is no key. |
| Submit Key | Access control for ConsensusService.submitMessage. Null if there is no key. |
| Sequence Number | Current sequence number (starting at 1 for the first submitMessage) of messages on the topic. |
| Running Hash | SHA-384 running hash |
| Expiration Time | Effective consensus timestamp at (and after) which submitMessage calls will no longer succeed on the topic and the topic will expire and be marked as deleted. |
| Topic Memo | Short publicly visible memo about the topic. No guarantee of uniqueness. |
| Auto Renew Period | The lifetime of the topic and the amount of time to extend the topic’s lifetime by |
| Auto Renew Account | Null if there is no autoRenewAccount. |
| Ledger ID | The ID of the network the response came from. See HIP-198. |
| Fee Schedule Key | The key that is authorized to modify the fee structure for submitting messages to this topic. If present, this key must be used to update the topic’s fee settings. If absent, the topic’s fee structure cannot be changed. |
| Fee Exempt Key | A list of accounts that do not have to pay a fee when submitting messages to the topic. If this field is present, it means certain accounts are allowed to submit messages for free. If absent, no exemptions exist. |
| Fee Schedule | The current fee structure that applies to message submissions for this topic. It specifies the amount charged per message, which can be denominated in HBAR or a chosen fungible token. If this field is present, the topic enforces fees for message submissions; if absent, message submission is free. |
- The client operator private key is required to sign the query request
- Please see the transaction and query fees table for the base transaction fee
- Please use the Hedera fee estimator to estimate your query fee cost
| Method | Type | Requirement |
|---|---|---|
setTopicId(<topicId>) | TopicId | Required |
<TopicInfo>.adminKey | Key | Optional |
<TopicInfo>.submitKey | Key | Optional |
<TopicInfo>.topicId | TopicId | Optional |
<TopicInfo>.sequenceNumber | long | Optional |
<TopicInfo>.runningHash | ByteString | Optional |
<TopicInfo>.memo | String | Optional |
<TopicInfo>.ledgerId | LedgerId | Optional |
<TopicInfo>.expirationTime | Instant | Optional |
<TopicInfo>.autoRenewAccount | AccountId | Optional |
<TopicInfo>.autoRenewPeriod | Instant | Optional |