Class HcsTopicDataExtensions
Extension methods for querying HCS topic data from the mirror node.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public static class HcsTopicDataExtensions
Methods
| Edit this page View SourceGetHcsTopicAsync(MirrorRestClient, EntityId, params IMirrorQueryFilter[])
Retrieves the information regarding a HCS topic.
Declaration
public static Task<HcsTopicData?> GetHcsTopicAsync(this MirrorRestClient client, EntityId topic, params IMirrorQueryFilter[] filters)
Parameters
| Type | Name | Description |
|---|---|---|
| MirrorRestClient | client | Mirror Rest Client to use for the request. |
| EntityId | topic | The ID of the topic to retrieve. |
| IMirrorQueryFilter[] | filters | Additional query filters if desired. |
Returns
| Type | Description |
|---|---|
| Task<HcsTopicData> | The information for the specified topic, or null if not found. |