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