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

# updateErc1155ContractRoyalties

### Description

This endpoint is used to add/update the royalties for an NFT contract. You can add a royalty recipient wallet address and specifiy the royalty percentage. (*only for contracts created with the NFT v3*)

{% code overflow="wrap" %}

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

{% endcode %}

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

| chain           | [VyChain](/sdk-reference/ts-js-v3/object-references/enum/vychain.md)                                                                  | The blockchain of the contract.                                    |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| contractAddress | string                                                                                                                                | The contract address whose royalty information you want to update. |
| reqParams       | [VyUpdateErc1155ContractRoyaltiesRequest](/sdk-reference/ts-js-v3/object-references/token/vyupdateerc1155contractroyaltiesrequest.md) | Request data for the operation                                     |

**Returns**

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