Class TopicDataExtensions
Extension methods for querying topic data from the mirror node.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public static class TopicDataExtensions
Methods
| Edit this page View SourceGetTopicAsync(MirrorRestClient, EntityId, params IMirrorQueryParameter[])
Retrieves the topic entity information from
/api/v1/topics/{id}, including the admin and submit
keys, memo, and lifecycle timestamps.
Declaration
public static Task<TopicData?> GetTopicAsync(this MirrorRestClient client, EntityId topic, params IMirrorQueryParameter[] filters)
Parameters
| Type | Name | Description |
|---|---|---|
| MirrorRestClient | client | Mirror Rest Client to use for the request. |
| EntityId | topic | The ID of the topic to retrieve. |
| IMirrorQueryParameter[] | filters | Reserved for forward compatibility. The endpoint currently accepts no query parameters per the OpenAPI spec; any filters supplied here are included in the URL but ignored by the server. |
Returns
| Type | Description |
|---|---|
| Task<TopicData> | The information for the specified topic, or null if not found. |