Wallet address from walletconnect session

Am struggling with something and I bet someone here knows the answer! :slightly_smiling_face:
How do I get the wallet address of a walletconnect session?

At the moment I force the user to authenticate so I can get the address from the user object. But with metamask I can get the wallet address from window.web3.eth.getAccounts();when the wallet is just connected, without the user having to sign anything.

window.web3.eth.getAccounts(); for a walletconnect session doesnโ€™t work. Would be great to get the address without the user having to authenticate at this stage, it reduces friction.

Anyone know how to get the users wallet address from just a connection via walletconnect?


Great, thank you!

I thought Iโ€™d tried that and got a null but will try again :).