Docs

IThirdwebWallet.IsConnected

Determines whether the wallet instance is currently connected to the blockchain network and any related services.

Note: an InAppWallet returning false here means that it could not auto-connect to the wallet right after creation, and requires user authentication, see InAppWallet.Connect for more information.

Usage

bool isConnected = await wallet.IsConnected();