Show / Hide Table of Contents

Class NftDataExtensions

Extension methods for querying NFT data from the mirror node.

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

Methods

| Edit this page View Source

GetNftAsync(MirrorRestClient, Nft, params IMirrorQueryFilter[])

Retrieves information for the given asset.

Declaration
public static Task<NftData?> GetNftAsync(this MirrorRestClient client, Nft nft, params IMirrorQueryFilter[] filters)
Parameters
Type Name Description
MirrorRestClient client

Mirror Rest Client to use for the request.

Nft nft

The identifier of the NFT to retrieve, which includes the token address and the serial number of the NFT.

IMirrorQueryFilter[] filters

Optional list of filter constraints for this query.

Returns
Type Description
Task<NftData>

The asset information.

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