> For the complete documentation index, see [llms.txt](https://wallet-docs.broearn.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wallet-docs.broearn.com/ethereum-and-evm/provider-api-reference/properties/eth_selectedaddress.md).

# eth\_selectedAddress

## window\.bw\.eth.selectedAddress

The address of the wallet that is currently connected to the dapp. This value will update upon [accountsChanged ](/ethereum-and-evm/provider-api-reference/events/accounts-changed.md)and  [connect](/ethereum-and-evm/provider-api-reference/events/connect.md) events.\
\
Returns a hexadecimal string.

```javascript
const address = window.bw.eth.selectedAddress;
console.log(address);
// "0xDAFEA492D9c6733ae3d56b7Ed1ADB60692c98Bc5"
```
