mina_requestAccounts
This method is used to request the current connect account. If there is a connected account, the connected account will be returned. If not, a popup window will show to request a connection.
Params
null
Result
Error
1002 | The request was rejected by the user. | |
20001 | No account found. | Need create or restore account in Auro Wallet first. |
23001 | Origin dismatch. | Check origin safe. |
Example
Request
Result
Last updated