Validates whether a configuration object has a wallet client (any wallet-based config).
The configuration object to check
True if the config contains a walletClient
if (isWalletConfig(config)) { console.log('Using wallet client:', config.walletClient.account?.address);} else { console.log('Read-only or chain config');} Copy
if (isWalletConfig(config)) { console.log('Using wallet client:', config.walletClient.account?.address);} else { console.log('Read-only or chain config');}
Validates whether a configuration object has a wallet client (any wallet-based config).