> 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/ue5-sdk-v3/function-references/token/token-metadata/geterc1155tokenmetadata.md).

# GetErc1155TokenMetadata

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

{% code overflow="wrap" %}

```cpp
void GetErc1155TokenMetadata(EVyChain Chain, FString ContractAddress, int TokenId, const FVyOnGetErc1155TokenMetadataComplete& OnComplete) const;
```

{% endcode %}

\
**Parameters**

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

\
**OnComplete Callback** (FVyOnGetErc1155TokenMetadataComplete)\
Contains a [FVyMetadataDto](/sdk-reference/ue5-sdk-v3/object-references/token/fvymetadatadto.md) response type
