Validates whether a configuration object is a WalletConfig.
The configuration object to check
True if the config is a WalletConfig (contains walletClient)
if (isWalletConfig(config)) { console.log('Using wallet client:', config.walletClient.account?.address);} else { console.log('Using chain config with chain ID:', config.chainId);} Copy
if (isWalletConfig(config)) { console.log('Using wallet client:', config.walletClient.account?.address);} else { console.log('Using chain config with chain ID:', config.chainId);}
Validates whether a configuration object is a WalletConfig.