getAccounts
Get address of current account
Parameters
none
Returns
string
: address of current account
Example
try {
let res = getAccounts();
console.log(res)
} catch (e) {
console.log(e);
}
> ["tb1qrn7tvhdf6wnh790384ahj56u0xaa0kqgautnnz"]