web3Accounts() in extension-dapp fetches accounts in Substrate format, no matter what's selected as the display format option in the extension's settings. The API should either be updated to include address type as a param, or it should fetch whatever is selected in the settings.
The text was updated successfully, but these errors were encountered:
I've actually had the "surprise" as an api user, so 100% agree with this issue. I would tend to go the route of the api enhancement by adding an option to choose the addressEncodingPrefix since it's a none breaking change. Does that sound good to you @jacogr ?
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.
web3Accounts()
in extension-dapp fetches accounts in Substrate format, no matter what's selected as the display format option in the extension's settings. The API should either be updated to include address type as a param, or it should fetch whatever is selected in the settings.The text was updated successfully, but these errors were encountered: