nomad-xyz/monorepo

feature: add page count to `/tx` query

Opened this issue · 1 comments

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.

Example:

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