How can I add an external account to metamask?

How can I add an external account to MetaMask via api? Does the method not exist?

Hello @hklee1024 !
Welcome to MetaMask community !

You can import external accounts from a JSON file or a Private Key using the MetaMask UI.
As for the API method, it is possible that this will be implemented in @metamask/sdk in the future.

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.