Skip to main content
The 23 November 2026 release moved the transactions, meta-transactions, events, and messages lists to cursor pagination. They now page the same way as the contracts and classes lists, which moved in the same release.

Affected Endpoints

On GET /txns, to takes precedence over block: a request with both returns the cursor-paginated list for to and ignores block.

Compatibility Note

This change is not backward-compatible for clients that page the unbounded lists with a page number or read lastPage.
The page-number parameter is ignored on the cursor-paginated lists and responses no longer include lastPage. A client that keeps incrementing the page number receives the first page every time. Page with the returned cursors instead.
The page-numbered lists in the right-hand column keep numbered pages: they accept page and pageSize, the spellings of p and ps introduced by Consistent Naming Across the Public API, and still return lastPage.

New Behavior

Cursor-paginated responses carry server-issued cursors:
  • Pass a previous response’s nextCursor/prevCursor back verbatim as cursor to page; omit it for the first page. A null nextCursor means the end of the list.
  • Treat cursors as opaque strings. Their format differs per endpoint and may change.
  • Cursors pin a position in the chain, so pages stay stable while new blocks land, and response time stays constant however deep you paginate.
  • pageSize sets the page size (10, 25, 50, or 100).
  • Malformed cursors return 400. Combining cursor with a page-numbered filter (block, rejected, blockHash, txnHash) returns 400.

Window Filters

The cursor-paginated lists, and GET /blocks, accept an inclusive window:
  • Timestamps are unix seconds. On /txns, /meta-txns, /events, and /blocks the API converts them to the matching block range. /messages filters on the message time directly.
  • Window values must be whole numbers from 0 to 2147483647. Other values return 400.
  • An empty window value, such as blockEnd=, is ignored, as if the parameter were not sent.
  • A block window and a timestamp window cannot be combined in one request.
  • Windows combine with cursor and the list’s other filters, but not with the page-numbered filters listed above.
  • Filter a single block with blockStart equal to blockEnd.
  • Inverted windows (start after end) return 400.

Migrating

  1. For the cursor-paginated lists, stop sending a page number and stop reading lastPage.
  2. Request the first page without cursor, then follow nextCursor until it is null.
  3. To show “previous page”, send the prevCursor from the current response.
  4. To fetch a specific range, use a block or timestamp window instead of jumping to a page number.
Questions or migration issues: contact us.