> 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/ue5-sdk-v3/function-references/token/erc20-contract/updateerc20contractowner.md).

# UpdateErc20ContractOwner

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

{% code overflow="wrap" %}

```cpp
void UpdateErc20ContractOwner(EVyChain Chain, FString ContractAddress, const FVyUpdateErc20ContractOwnerRequest& Params, const FVyOnUpdateErc20ContractOwnerComplete& OnComplete) const;
```

{% endcode %}

\
**Parameters**

| Chain           | [EVyChain](/sdk-reference/ue5-sdk-v3/object-references/shared/enum/evychain.md)                                               |                                                                                         |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| ContractAddress | FString                                                                                                                       |                                                                                         |
| Params          | [FVyUpdateErc20ContractOwnerRequest](/sdk-reference/ue5-sdk-v3/object-references/token/fvyupdateerc20contractownerrequest.md) | Parameters for this operation (FVyUpdateErc20ContractOwnerRequest)                      |
| OnComplete      | FVyOnUpdateErc20ContractOwnerComplete                                                                                         | The callback function called when the user preferences retrieval operation is complete. |

\
**OnComplete Callback** (FVyOnUpdateErc20ContractOwnerComplete)\
Contains a [FVyTransactionHashResultDto](/sdk-reference/ue5-sdk-v3/object-references/shared/fvytransactionhashresultdto.md) response type
