> 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/ts-js-v3/function-references/token/erc20-contract/geterc20contract.md).

# 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](/sdk-reference/ts-js-v3/object-references/enum/vychain.md) | The blockchain of the token contract.                       |
| --------------- | -------------------------------------------------------------------- | ----------------------------------------------------------- |
| contractAddress | string                                                               | The token contract address whose details you want to fetch. |

**Returns**

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