Show / Hide Table of Contents

Class TokenDataExtensions

Extension methods for querying token data from the mirror node.

Inheritance
object
TokenDataExtensions
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 TokenDataExtensions

Methods

| Edit this page View Source

GetTokenAsync(MirrorRestClient, EntityId, params IMirrorQueryFilter[])

Retrieves information for the given token.

Declaration
public static Task<TokenData?> GetTokenAsync(this MirrorRestClient client, EntityId token, params IMirrorQueryFilter[] filters)
Parameters
Type Name Description
MirrorRestClient client

Mirror Rest Client to use for the request.

EntityId token

The ID of the token to retrieve.

IMirrorQueryFilter[] filters

Optional list of filter constraints for this query.

Returns
Type Description
Task<TokenData>

The token information.

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