> 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/mint-tokens/geterc1155tokens.md).

# GetErc1155Tokens

This endpoint is used to get all tokens in a contract.

{% code overflow="wrap" %}

```cpp
void GetErc1155Tokens(EVyChain Chain, FString ContractAddress, const FVyQuery_GetErc1155Tokens& Query, const FVyOnGetErc1155TokensComplete& 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 whose tokens you want to fetch.                                    |
| Query           | [FVyQuery\_GetErc1155Tokens](/sdk-reference/ue5-sdk-v3/object-references/token/query/fvyquery_geterc1155tokens.md) | Optional Query Parameters                                                               |
| OnComplete      | FVyOnGetErc1155TokensComplete                                                                                      | The callback function called when the user preferences retrieval operation is complete. |

\
**OnComplete Callback** (FVyOnGetErc1155TokensComplete)\
Contains a TArray<[FVyErc1155TokenDto](/sdk-reference/ue5-sdk-v3/object-references/token/fvyerc1155tokendto.md)> response type
