dag_requestAccounts
await provider.request({ method: "dag_requestAccounts", params: [] });
// ["DAG88C9WDSKH451sisyEP3hAkgCKn5DN72fuwjfX"]Last updated
Was this helpful?
Parameters
None
Return Type
DAGAddress[] - User accounts available.
Important
The account at index 0 will always be the active account in Stargazer.
Example
await provider.request({ method: "dag_requestAccounts", params: [] });
// ["DAG88C9WDSKH451sisyEP3hAkgCKn5DN72fuwjfX"]Last updated
Was this helpful?
Was this helpful?