> ## Documentation Index
> Fetch the complete documentation index at: https://developers.stellar.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Pagination

> For methods which support it, the pagination arguments are passed as a final object argument with two values.

For methods which support it, the pagination arguments are passed as a final object argument with two values:

* `cursor`: string - (optional) An opaque string which acts as a paging token. Each response will include a `cursor` field which can be included in a subsequent request to obtain the next page of results.
* `limit`: number - (optional) The maximum number of records returned. Each paginated method has a method-specific range and default.

| Method | Limit range | Default limit |
| - | - | - |
| [`getEvents`](../methods/getEvents) | 1 to 10000 | 100 |
| [`getLedgers`](../methods/getLedgers) | 1 to 200 | 50 |
| [`getTransactions`](../methods/getTransactions) | 1 to 200 | 50 |

These upper limits are hardcoded in Stellar RPC for performance reasons.

For example, calling a method with pagination parameter set:

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "exampleMethod",
  "params": {
    "some": "argument",
    "pagination": {
      "cursor": "1234-1",
      "limit": 100
    }
  }
}
```
