# GetErc1155TokenMetadata

### Description

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

{% code overflow="wrap" %}

```csharp
public static VyTask<VyMetadataDto> GetErc1155TokenMetadata(eVyChain chain, string contractAddress, int tokenId)
```

{% 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.                                     |
| tokenId         | int                                                                                     | The \`id\` of the token whose metadata you want to fetch. |

**Returns**

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