> For the complete documentation index, see [llms.txt](https://sdk.venly.io/sdk-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.venly.io/sdk-reference/c-sdk-v3/function-references/wallet/non-fungibles/getnftcontract.md).

# GetNftContract

### Description

This endpoint retrieves NFT contract information by blockchain and contract address.

{% code overflow="wrap" %}

```csharp
public static VyTask<VyNftContractDto> GetNftContract(eVyChain chain, string contractAddress, VyQuery_GetNftContract query = null)
```

{% endcode %}

{% tabs %}
{% tab title="Details" %}
**Parameters**

| chain            | [eVyChain](/sdk-reference/c-sdk-v3/object-references/enum/evychain.md)                                        | The blockchain to filter by           |
| ---------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------- |
| contractAddress  | string                                                                                                        | The contract address of the NFT       |
| query (optional) | [VyQuery\_GetNftContract](/sdk-reference/c-sdk-v3/object-references/wallet/queries/vyquery_getnftcontract.md) | Query to filter the operation results |

**Returns**

VyTask<[VyNftContractDto](/sdk-reference/c-sdk-v3/object-references/wallet/vynftcontractdto.md)>\
NFT contract information retrieved successfully.
{% endtab %}
{% endtabs %}
