# ValidateWallet

This endpoint is used to validate whether the format of a wallet address is correct for a specific chain.

{% code overflow="wrap" %}

```cpp
void ValidateWallet(EVyChain Chain, FString WalletAddress, const FVyOnValidateWalletComplete& OnComplete) const;
```

{% endcode %}

\
**Parameters**

| Chain         | [EVyChain](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/shared/enum/evychain) | The blockchain of the wallet                                                            |
| ------------- | ------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------- |
| WalletAddress | FString                                                                                          | The public wallet address of the wallet                                                 |
| OnComplete    | FVyOnValidateWalletComplete                                                                      | The callback function called when the user preferences retrieval operation is complete. |

\
**OnComplete Callback** (FVyOnValidateWalletComplete)\
Contains a [FVyValidateWalletResultDto](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/wallet/fvyvalidatewalletresultdto) response type
