Skip to content

feat: get account from the selected account group (optionally filtered by chain ID)#9562

Draft
gantunesr wants to merge 1 commit into
mainfrom
gar/feat/add-getAccountFromSelectedAccountGroup-method
Draft

feat: get account from the selected account group (optionally filtered by chain ID)#9562
gantunesr wants to merge 1 commit into
mainfrom
gar/feat/add-getAccountFromSelectedAccountGroup-method

Conversation

@gantunesr

@gantunesr gantunesr commented Jul 20, 2026

Copy link
Copy Markdown
Member

Explanation

  • Adds public method setSelectedAccountByAccountId(accountId): resolve getAccountContext(accountId).groupId, throw if not found, then call #setSelectedAccountGroup(groupId).
  • Register in MESSENGER_EXPOSED_METHODS, regenerate AccountTreeController-method-action-types.ts, export the action type from index.ts.

References

Fixes: https://consensyssoftware.atlassian.net/browse/MUL-1999

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

@gantunesr gantunesr changed the title feat: add getAccountFromSelectedAccountGroup method feat: get account from the selected account group (optionally filtered by a CAIP-2 chain ID) Jul 20, 2026
@gantunesr gantunesr changed the title feat: get account from the selected account group (optionally filtered by a CAIP-2 chain ID) feat: get account from the selected account group (optionally filtered by chain ID) Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant