# GetErc1155TokenTypeMetadata

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

{% code overflow="wrap" %}

```cpp
void GetErc1155TokenTypeMetadata(EVyChain Chain, FString ContractAddress, int TokenTypeId, const FVyOnGetErc1155TokenTypeMetadataComplete& OnComplete) const;
```

{% endcode %}

\
**Parameters**

| Chain           | [EVyChain](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/shared/enum/evychain) | The blockchain of the contract.                                                         |
| --------------- | ------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------- |
| ContractAddress | FString                                                                                          | The contract address.                                                                   |
| TokenTypeId     | int                                                                                              | The \`id\` of the token-type whose metadata you want to fetch.                          |
| OnComplete      | FVyOnGetErc1155TokenTypeMetadataComplete                                                         | The callback function called when the user preferences retrieval operation is complete. |

\
**OnComplete Callback** (FVyOnGetErc1155TokenTypeMetadataComplete)\
Contains a [FVyMetadataDto](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/token/fvymetadatadto) response type
