Cursor based pagination doesn’t work for the transactions web3 API endpoint. An example request:
https://deep-index.moralis.io/api/v2/0x7f268357A8c2552623316e2562D90e642bB538E5?chain=eth&from_block=14886807&to_block=14886807
The total returned by this request is 109, so we need to query several pages. When running the same request with the cursor returned in the response, I’m getting absolutely the same response, except two fields: page
and cursor
. And this happens infinitely.
To reproduce: try to get all 109 transactions with provided parameters.