# updateErc20ContractOwner

### Description

This endpoint is used to update the owner of a token contract.

{% code overflow="wrap" %}

```javascript
public updateErc20ContractOwner(chain: VyChain, contractAddress: string, reqParams: VyUpdateErc20ContractOwnerRequest) : VyPromise<VyTransactionHashResultDto>
```

{% endcode %}

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

| chain           | [VyChain](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/enum/vychain)                                                      |                                |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------ |
| contractAddress | string                                                                                                                                     |                                |
| reqParams       | [VyUpdateErc20ContractOwnerRequest](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/token/vyupdateerc20contractownerrequest) | Request data for the operation |

**Returns**

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