Private #connectOptional chainProtected chainsOptional connectorProtected dappOptional metamaskProtected Optional optionsOptional walletProtected walletStatic idStatic metaPrivate #connectPrivate #subscribePrivate #trackconnect to wallet with QR code
metamask.connectWithQrCode({
 chainId: 1,
 onQrCodeUri(qrCodeUri) {
   // render the QR code with `qrCodeUri`
 },
 onConnected(accountAddress)  {
   // update UI to show connected state
 },
})
the native token balance of the connected wallet
Protected getGenerated using TypeDoc
tries to auto connect to the wallet