# getErc20Contract

### Description

This endpoint is used to get a specific token contract by blockchain and contract address.

{% code overflow="wrap" %}

```javascript
public getErc20Contract(chain: VyChain, contractAddress: string) : VyPromise<VyErc20TokenContractDto>
```

{% endcode %}

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

| chain           | [VyChain](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/enum/vychain) | The blockchain of the token contract.                       |
| --------------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| contractAddress | string                                                                                | The token contract address whose details you want to fetch. |

**Returns**

VyPromise<[VyErc20TokenContractDto](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/token/vyerc20tokencontractdto)>
{% endtab %}
{% endtabs %}
