Charles Liu

Results 2 comments of Charles Liu

Let's fix this unexpected behavior, let fromHeight of 0 mean the latest block instead of the genesis block and avoid returning all events without pagination.

In addition, we could add two pagination parameters `pageIndex` and `pageSize` to limit the maximum size of events returned in a single RPC call [like ledger-getaccountblocksbyaddress](https://docs.vite.org/vite-docs/api/rpc/ledger_v2.html#ledger-getaccountblocksbyaddress).