# GetErc1155TokenType

This endpoint fetches the details of a specific token-type by `tokenTypeId`.

{% code overflow="wrap" %}

```cpp
void GetErc1155TokenType(EVyChain Chain, FString ContractAddress, int TokenTypeId, const FVyOnGetErc1155TokenTypeComplete& 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                                                                                              | This is the \`id\` of the token-type.                                                   |
| OnComplete      | FVyOnGetErc1155TokenTypeComplete                                                                 | The callback function called when the user preferences retrieval operation is complete. |

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