# 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](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/shared/enum/evychain)                                               |                                                                                         |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| ContractAddress | FString                                                                                                                                        |                                                                                         |
| Params          | [FVyUpdateErc20ContractOwnerRequest](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/token/fvyupdateerc20contractownerrequest) | 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](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/shared/fvytransactionhashresultdto) response type
