# 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](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/shared/enum/evychain) | 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](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/token/fvyerc20tokencontractdto) response type
