The getAllAddresses function fetches the wallet addresses of the web wallets in the browser extension.
The ACCESS_ALL_ADDRESSESpermission must be granted either while calling connect() or getPermissions() in order to successfully use this function. Read more about permissions .