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

Withdrawals data from dapi #313

Merged
merged 20 commits into from
Nov 18, 2024
Merged

Withdrawals data from dapi #313

merged 20 commits into from
Nov 18, 2024

Conversation

owl352
Copy link
Collaborator

@owl352 owl352 commented Nov 15, 2024

Issue

We need to display withdrawals documents and status, but indexer does not contain this information and we need data about docs from dapi

Things done

Implemented method, which allows to get withdrawals from dapi. In the process of getting the hash of a transaction, we need to refer to the indexer and this method will take the hash from either the document or the transaction (if there is no document). This method allows us to save time in cases when our database contains a transaction document
Also has been added new method to DAPI for documents search
Updated Readme.md
Added integration tests for identity withdrawals

Copy link

vercel bot commented Nov 15, 2024

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

Name Status Preview Comments Updated (UTC)
platform-explorer-mainnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 18, 2024 8:06pm
platform-explorer-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 18, 2024 8:06pm

@owl352 owl352 self-assigned this Nov 15, 2024
@owl352 owl352 added the backend Related to backend (API) label Nov 15, 2024
packages/api/src/controllers/IdentitiesController.js Outdated Show resolved Hide resolved
packages/api/src/dao/IdentitiesDAO.js Outdated Show resolved Hide resolved
pshenmic
pshenmic previously approved these changes Nov 18, 2024
@owl352 owl352 merged commit 999face into master Nov 18, 2024
9 checks passed
@owl352 owl352 deleted the feat/withdrawals-dapi branch November 23, 2024 00:53
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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants