Show / Hide Table of Contents

Class TopicDataExtensions

Extension methods for querying topic data from the mirror node.

Inheritance
object
TopicDataExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public static class TopicDataExtensions

Methods

| Edit this page View Source

GetTopicAsync(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.

  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph