> 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). Agents can also search and read this documentation through its [MCP server](https://sdk.venly.io/sdk-reference/~gitbook/mcp).

# 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](https://sdk.venly.io/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](https://sdk.venly.io/sdk-reference/c-sdk-v3/object-references/wallet/queries/vyquery_getnftcontract.md) | Query to filter the operation results |

**Returns**

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