> 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/updateerc20contractowner.md).

# 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](/sdk-reference/ts-js-v3/object-references/enum/vychain.md)                                                      |                                |
| --------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------ |
| contractAddress | string                                                                                                                    |                                |
| reqParams       | [VyUpdateErc20ContractOwnerRequest](/sdk-reference/ts-js-v3/object-references/token/vyupdateerc20contractownerrequest.md) | Request data for the operation |

**Returns**

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