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

Add get identity by identifier API #73

Merged
merged 3 commits into from
Oct 27, 2023
Merged

Conversation

pshenmic
Copy link
Owner

@pshenmic pshenmic commented Oct 27, 2023

Issue

Add /identities/$identity_id backend API route path, that will return info about the given identity. The info contains:

  • identifier
  • balance
  • state transition hash
  • transactions count
  • transfers count
  • data contracts count
  • documents count

Things done

  • Added getIdentityByIdentifier API method
  • Added state transition hash to the data contracts
  • Added tx_hash and timestamp fields in the Documents & DataContracts APIs

@vercel
Copy link

vercel bot commented Oct 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
platform-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 27, 2023 2:06pm

@pshenmic pshenmic merged commit 10b6549 into master Oct 27, 2023
1 check passed
@pshenmic pshenmic self-assigned this Oct 29, 2023
@pshenmic pshenmic added the backend Related to backend (API) label Oct 29, 2023
@pshenmic pshenmic deleted the feat/identity-api-get branch October 29, 2023 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend (API)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant