# UpdateErc1155TokenTypeMetadata

### Description

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

{% code overflow="wrap" %}

```csharp
public static VyTask<VyMetadataDto> UpdateErc1155TokenTypeMetadata(eVyChain chain, string contractAddress, int tokenTypeId, VyUpdateErc1155TokenTypeMetadataRequest reqParams)
```

{% endcode %}

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

| chain           | [eVyChain](https://sdk.venly.io/sdk-reference/c-sdk-v3/object-references/enum/evychain)                                                                | The blockchain of the contract.                                 |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------- |
| contractAddress | string                                                                                                                                                 | The contract address.                                           |
| tokenTypeId     | int                                                                                                                                                    | The \`id\` of the token-type whose metadata you want to update. |
| reqParams       | [VyUpdateErc1155TokenTypeMetadataRequest](https://sdk.venly.io/sdk-reference/c-sdk-v3/object-references/token/vyupdateerc1155tokentypemetadatarequest) | Request data for the operation                                  |

**Returns**

VyTask<[VyMetadataDto](https://sdk.venly.io/sdk-reference/c-sdk-v3/object-references/token/vymetadatadto)>
{% endtab %}
{% endtabs %}
