Closed EvgeniiaVak closed 3 months ago
@fliebenberg does the sdk provide pagination?
The response from the API/SDK will limit results to 100. If there are more than 100 orders, the result from the API will include a "nextItem" field which you can use as the "startFrom" field in your next query. In the SDK, the getAccountOrders function takes an optional "from" parameter, which is the same as the "startFrom" field mentioned above.
Closing as this is a duplicate of https://github.com/DeXter-on-Radix/website/issues/483
When account history grows it enlogates the page indefinitely, we need to add pagination and maybe always show fixed number of rows to prevent page jumping when clicking from open orders with small number of orders to order history.