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

# [23.11.26] New ID Format

> Transfer, event-activity, and message ids changed from decimal numbers to hex strings.

This change is **not backward-compatible** for clients that store or parse ids.

## New ID Format

The fields below kept their names, but their values changed format:

| Endpoint | Field and parameter | Before | Now |
| - | - | - | - |
| `GET /contracts/{contractAddress}/transfers` | `items[].id`, `id` parameter | Decimal number as a string | Lowercase hex string of up to 24 characters |
| `GET /token-transfers` | `items[].id`, `id` parameter | Decimal number as a string | Lowercase hex string of up to 24 characters |
| `GET /event-activity` | `items[].id`, `lastId` parameter | Decimal number as a string | Lowercase hex string of up to 24 characters |
| `GET /messages` | `items[].id` | Decimal number as a string | Lowercase hex string of 17 characters |

> [!WARNING]
>
> An id saved before the release is **not rejected**, because a decimal number is also a
> valid hex string. Sent as `id` or `lastId`, it returns the wrong page with
> status `200`. Do not reuse ids stored before the release.

### Migrating

1. Treat ids as opaque strings. Do not parse them as numbers or compare them numerically.
2. Restart any pagination from the first page, and discard ids from these endpoints that you
   stored before the release.
3. If you store ids as integers, change the column to a string type.

Questions or migration issues: [contact us](https://docs.voyager.online/guides/contact.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.