> 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/token-type-metadata/updateerc1155tokentypemetadata.md).

# updateErc1155TokenTypeMetadata

### Description

This endpoint is used to update the metadata of a token-type.

{% code overflow="wrap" %}

```javascript
public updateErc1155TokenTypeMetadata(chain: VyChain, contractAddress: string, tokenTypeId: number, reqParams: VyUpdateErc1155TokenTypeMetadataRequest) : VyPromise<VyMetadataDto>
```

{% 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.                                           |
| tokenTypeId     | number                                                                                                                                | The \`id\` of the token-type whose metadata you want to update. |
| reqParams       | [VyUpdateErc1155TokenTypeMetadataRequest](/sdk-reference/ts-js-v3/object-references/token/vyupdateerc1155tokentypemetadatarequest.md) | Request data for the operation                                  |

**Returns**

VyPromise<[VyMetadataDto](/sdk-reference/ts-js-v3/object-references/token/vymetadatadto.md)>
{% endtab %}
{% endtabs %}
