> 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-metadata/geterc1155tokenmetadata.md).

# getErc1155TokenMetadata

### Description

This endpoint fetches the metadata of a token by `tokenId`.

{% code overflow="wrap" %}

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

**Returns**

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