# getErc1155TokenTypeMetadata

### Description

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

{% code overflow="wrap" %}

```javascript
public getErc1155TokenTypeMetadata(chain: VyChain, contractAddress: string, tokenTypeId: number) : 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 contract.                                |
| --------------- | ------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| contractAddress | string                                                                                | The contract address.                                          |
| tokenTypeId     | number                                                                                | The \`id\` of the token-type whose metadata you want to fetch. |

**Returns**

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