description |
---|
This method is used to request the current connected account. It is a silent request. If there is a connected account, it will return the connected account. If not, it will return an empty array. |
null
string[]
null
await window.mina?.getAccounts();
// have connect account.
["address"]
// if not
[]