> 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). Agents can also search and read this documentation through its [MCP server](https://sdk.venly.io/sdk-reference/~gitbook/mcp).

# 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.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](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/wallet/fvyvalidatewalletresultdto.md) response type
