# 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)                                        | 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) | Query to filter the operation results |

**Returns**

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