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

feature: add page count to /tx query #285

Open
ErinHales opened this issue May 16, 2022 · 1 comment
Open

feature: add page count to /tx query #285

ErinHales opened this issue May 16, 2022 · 1 comment
Assignees

Comments

@ErinHales
Copy link
Member

Count txs, divide by size. Return pageCount value.

If there are 100 txs that meet the query filter, and size is set to 5, pageCount should equal 20.

@ErinHales
Copy link
Member Author

Example:

{
   pageCount: 20,
   transactions: [{
      ...
   }]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants