matter-labs / block-explorer

zkSync Era Block Explorer
Apache License 2.0
125 stars 110 forks source link

Feature Request: Support more page size in pagination #215

Open crypto-matto opened 7 months ago

crypto-matto commented 7 months ago

šŸŒŸ Feature Request

šŸ“ Description

Existing table view data are all having pagination of page size 10.

Suggested additional page size:

šŸ¤” Rationale

A pagination of selectable page size is practical & common to be supported. e.g. https://etherscan.io/txs?a=0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5

šŸ“‹ Additional Context

Add any other context or information about the feature request here.

crypto-matto commented 7 months ago

Foundings

e.g. https://block-explorer-api.mainnet.zksync.io/address/0xFb59d06df95091cC7822690a1B12E97008b345E2/transfers?toDate=2024-04-05T09%3A47%3A53.461Z&pageSize=10&page=1

For all API endpoints, Iā€™m seeing that whatever pageSize I pass, it will always give me an item list of 10. Instead, limit is effective.