# getErc1155ContractMetadata

### Description

This endpoint is used to fetch the metadata of as contract.

{% code overflow="wrap" %}

```javascript
public getErc1155ContractMetadata(chain: VyChain, contractAddress: string) : VyPromise<VyErc1155TokenContractMetadataDto>
```

{% 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 whose metadata you want to fetch. |

**Returns**

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