dag_accounts
await provider.request({ method: "dag_accounts", params: [] });
// ["DAG88C9WDSKH451sisyEP3hAkgCKn5DN72fuwjfX"]Last updated
Was this helpful?
Retrieves the active account in the wallet for Constellation's provider.
Parameters
None
Return Type
DAGAddress[] - User's active account.
Important
The account returned will always be the active account in Stargazer. The response will have at most one address.
Example
await provider.request({ method: "dag_accounts", params: [] });
// ["DAG88C9WDSKH451sisyEP3hAkgCKn5DN72fuwjfX"]Last updated
Was this helpful?
Was this helpful?