-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(jellyfish-api-core): Add index based pagination support to `list…
…accounthistory` RPC (#1923) <!-- Thanks for sending a pull request! --> #### What this PR does / why we need it: **Requirement:** Upcoming consortium transaction history page on [defiscan.live](https://defiscan.live/) requires a way to paginate the list of transactions among consortium members. **Issue:** Currently we only have `blockHeight` and `depth` based pagination/cursor which we're unable to use to address the requirement as it only cursor through blocks but not transactions., More info [here](#1868 (comment)). **Solution:** - Add index based pagination support. - Add multi transaction types filter support. - Add multi address filter support. Huge thanks to @shohamc1 for supporting me on defich/ain side, refer [defich/ain PR](DeFiCh/ain#1643) Signed-off-by: Dilshan Madushanka <[email protected]> Co-authored-by: Isaac Yong <[email protected]> Co-authored-by: Kven Ho <[email protected]>
- Loading branch information
1 parent
fe0f77b
commit 3d0e633
Showing
3 changed files
with
70 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters