# updateErc1155ContractOwner

### Description

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" %}

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

{% endcode %}

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

| chain           | [VyChain](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/enum/vychain)                                                          | The blockchain of the contract. |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- |
| contractAddress | string                                                                                                                                         | The contract address.           |
| reqParams       | [VyUpdateErc1155ContractOwnerRequest](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/token/vyupdateerc1155contractownerrequest) | Request data for the operation  |

**Returns**

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