> 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/erc20-contract/geterc20contract.md).

# GetErc20Contract

This endpoint is used to get a specific token contract by blockchain and contract address.

{% code overflow="wrap" %}

```cpp
void GetErc20Contract(EVyChain Chain, FString ContractAddress, const FVyOnGetErc20ContractComplete& OnComplete) const;
```

{% endcode %}

\
**Parameters**

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

\
**OnComplete Callback** (FVyOnGetErc20ContractComplete)\
Contains a [FVyErc20TokenContractDto](/sdk-reference/ue5-sdk-v3/object-references/token/fvyerc20tokencontractdto.md) response type
