---
title: Pagination
slug: pagination
docTags: 
createdAt: 2024-09-23T11:48:39.308Z
---

:::hint{type="info"}
Maximum `page_size` parameter is diffrent for rates. Check [@dtontech\_bot](https://t.me/dtontech_bot) for getting your rate max `page_size`
:::

For `raw_transactions` and `raw_account_states` you can use `gen_utime__gte` / `lt__gte` / `gen_utime__lte` / `lt__lte`

For `blocks` you can use `gen_utime__gte` / `gen_utime__lte`

:::hint{type="info"}
Be careful with sorting by `lt` field for multiple accounts, because there can be multiple transactions with same `lt` for different accounts.
:::

:::hint{type="info"}
Also be careful with raw\_account\_states request, because records are updating live during you request.&#x20;
:::



:::GraphiQL
```json
{
  "endpoint": "https://dton.io/graphql/",
  "query": "{\n  raw_transactions(\n    workchain: -1\n    address: \"5555555555555555555555555555555555555555555555555555555555555555\"\n    order_by: \"lt\"\n    order_desc: true\n    lt__gte: 40379620000003 # pass last lt from prev request here\n    page_size: 150 # max transactions per 1 request\n  ) {\n    address\n    workchain\n    lt\n    hash\n  }\n}\n"
}
```
:::

