# archiveErc20Contract

### Description

This endpoint allows you to archive an ERC20 contract. When you archive an ERC20 contract, it will be removed from all API responses, rendering it inaccessible via any API calls. Furthermore, you cannot mint new tokens under the archived contract. All minted ERC20 tokens associated with the archived contract will also be archived and cannot be accessed via API calls. However, the ERC20 contract will remain on the blockchain.

{% code overflow="wrap" %}

```javascript
public archiveErc20Contract(chain: VyChain, contractAddress: string) : VyPromise<Any>
```

{% 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 that you want to delete. |
| {% endtab %}    |                                                                                       |                                                     |
| {% endtabs %}   |                                                                                       |                                                     |
