if (!webbtc.on) { alert('not supported'); }awaitwebbtc.enable();webbtc.on("accountChanged", accountChangedHandler); // callback is executed once account is changed in provided with multiple accounts
functionaccountChangedHandler() {console.log("Account Changed!");}