# getErc1155TokenType

### Description

This endpoint fetches the details of a specific token-type by `tokenTypeId`.

{% code overflow="wrap" %}

```javascript
public getErc1155TokenType(chain: VyChain, contractAddress: string, tokenTypeId: number) : VyPromise<VyErc1155TokenTypeDto>
```

{% 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                                                                                | This is the \`id\` of the token-type. |

**Returns**

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