How to paginate through api?

1

1

I have looked at the following link:https://dashblockexplorer.com/api/txs/?block=990001, and I am wondering how to paginate. You may notice that pageTotal is equal to 5.

SantiClaus

Posted 2019-01-03T07:45:36.313

Reputation: 143

2I'm voting to close this question as off-topic because it is not about Bitcoin.Anonymous 2019-02-03T06:58:14.220

Answers

1

From its api info page, dashblockexplorer.com uses insigth api, and so just append to the url:

&pageNum=#

For example, for the next page (#1, as it starts on zero):

https://dashblockexplorer.com/api/txs/?block=990001&pageNum=1

Last page should be pageNum = pagesTotal-1

circulosmeos

Posted 2019-01-03T07:45:36.313

Reputation: 526