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

API for the transaction detail pagination #119

Open
JM066 opened this issue Apr 7, 2022 · 0 comments
Open

API for the transaction detail pagination #119

JM066 opened this issue Apr 7, 2022 · 0 comments

Comments

@JM066
Copy link
Contributor

JM066 commented Apr 7, 2022

We have API that returns transaction data but it searches by a hash key instead of a transaction id so I cannot simply add or minus from the page number. What I can do is call api that returns all transactions and loop through it to see if it has the same transaction id as the one that shows on the screen and get either previous or next transaction hash then call the transaction detail api again but it means not only I need to make two api calls but also loop through the data to find the one matches so it is not effective.

@JM066 JM066 changed the title Pagination for the transaction table API for pagination for the transaction table Apr 7, 2022
@JM066 JM066 changed the title API for pagination for the transaction table API for the transaction detail pagination Apr 7, 2022
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

No branches or pull requests

1 participant