Add Explicit Pagination in get requests
Nikita Savik
Thanks for the feedback Pavel Fedotov!
Could you please describe the case you are trying to solve? We have pointer-based pagination in our handles, this makes the requests more efficient and fast. So, what is the use-case and what problems do you face with the current pagination system?
Pavel Fedotov
Nikita Savik absolutely, I am trying to build an app that displays smart contract data such as balance and transactions in more details than what is displayed usually for op governance.
For example, transactions could be queried
curl -X 'GET' 'https://optimism.blockscout.com/api/v2/addresses/0x40F320CD3Cd616E59599568c4eA011E2eE49a175/transactions' -H 'accept: application/json'
But it outputs too much data
https://optimism.blockscout.com/api-docs
Nikita Savik
Pavel Fedotov: Got it, we have the default of 50 transactions per page, and no way to change this (yet).
Thanks again for the proposal, we will put it on the roadmap and prioritize according the votes here