# \[Archive\] Why getAccounts return array?

**URL:** <https://builder.metamask.com/t/archive-why-getaccounts-return-array/2430>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [September 6, 2022, 11:14am UTC](https://builder.metamask.com/t/archive-why-getaccounts-return-array/2430 "2022-09-06T11:14:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.com/u/githubdiscussions)\
**Post date:** [September 6, 2022, 11:14am UTC](https://builder.metamask.com/t/archive-why-getaccounts-return-array/2430/1 "2022-09-06T11:14:09Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **githubdiscussions** on 9/6/2022.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

After I am connected using web3Auth, I can get the user wallet address using getAccounts which will return me the array of addresses and the 1st entry in the array will be my wallet address.

My doubt is, why it is returning me an array? As per my observation, it always returns one wallet address in the array. And as I am connected using my google account, this should always return me one wallet address. So, if the array has more than 1 entry, than what are the other entries?

  
   
 Originally posted by: [KetulCodiste](https://github.com/KetulCodiste)  
   
 Check the discussion at: [https://github.com/orgs/Web3Auth/discussions/556](https://github.com/orgs/Web3Auth/discussions/556)
