# UpdateErc1155ContractOwner

This endpoint is used to update the `owner` of an NFT contract. The updated owner will have admin rights on the contract.

{% code overflow="wrap" %}

```cpp
void UpdateErc1155ContractOwner(EVyChain Chain, FString ContractAddress, const FVyUpdateErc1155ContractOwnerRequest& Params, const FVyOnUpdateErc1155ContractOwnerComplete& OnComplete) const;
```

{% endcode %}

\
**Parameters**

| Chain           | [EVyChain](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/shared/enum/evychain)                                                   | The blockchain of the contract.                                                         |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| ContractAddress | FString                                                                                                                                            | The contract address.                                                                   |
| Params          | [FVyUpdateErc1155ContractOwnerRequest](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/token/fvyupdateerc1155contractownerrequest) | Parameters for this operation (FVyUpdateErc1155ContractOwnerRequest)                    |
| OnComplete      | FVyOnUpdateErc1155ContractOwnerComplete                                                                                                            | The callback function called when the user preferences retrieval operation is complete. |

\
**OnComplete Callback** (FVyOnUpdateErc1155ContractOwnerComplete)\
Contains a [FVyTransactionHashResultDto](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/shared/fvytransactionhashresultdto) response type
