Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds rpc to fetch identity for multisig account #5715

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

hughy
Copy link
Contributor

@hughy hughy commented Jan 27, 2025

Summary

adds 'wallet/multisig/getAccountIdentity' to retrieve the multisig identity for an account

endpoint throws an error if the account is not a multisig account or if it is a coordinator account and doesn't have an identity

differs from 'wallet/multisig/getAccountIdenitities', which returns all identities for all participants in the multisig

Testing Plan

  • adds unit tests

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[X] Yes

iron-fish/website#777

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes

adds 'wallet/multisig/getAccountIdentity' to retrieve the multisig identity for
an account

endpoint throws an error if the account is not a multisig account or if it is a
coordinator account and doesn't have an identity

differs from 'wallet/multisig/getAccountIdenitities', which returns all
identities for all participants in the multisig
@hughy hughy requested a review from a team as a code owner January 27, 2025 20:48
@NullSoldier
Copy link
Contributor

nice, looks like the documentation section of the PR description is not correct.

We'll need a PR to the RPC docs too.

@hughy hughy merged commit acd4c8b into staging Jan 27, 2025
14 checks passed
@hughy hughy deleted the feat/hughy/multisig-get-account-identity branch January 27, 2025 21:40
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.

2 participants