# addErc1155TokenAttribute

### Description

This endpoint is used to add attributes to a specific NFT.

{% code overflow="wrap" %}

```javascript
public addErc1155TokenAttribute(chain: VyChain, contractAddress: string, tokenId: number, reqParams: VyErc1155TokenAttributeDto) : VyPromise<VyMetadataDto>
```

{% 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 NFT collection |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
| contractAddress | string                                                                                                                       | The NFT contract address             |
| tokenId         | number                                                                                                                       | The \`ID\` of the token              |
| reqParams       | [VyErc1155TokenAttributeDto](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/token/vyerc1155tokenattributedto) | Request data for the operation       |

**Returns**

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