> 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/wallet/wallet/validatewallet.md).

# 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](/sdk-reference/ue5-sdk-v3/object-references/shared/enum/evychain.md) | 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](/sdk-reference/ue5-sdk-v3/object-references/wallet/fvyvalidatewalletresultdto.md) response type
