Class TokenDataExtensions
Extension methods for querying token data from the mirror node.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public static class TokenDataExtensions
Methods
| Edit this page View SourceGetTokenAsync(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. |