Skip to main content
Since July 1, 2026, GET /contracts/{contractAddress}/transfers validates timestampFrom and timestampTo as you send them. It no longer adjusts them silently.

What to Do

  1. Send the first request without timestampFrom or timestampTo. You get the latest 90 days of transfers.
  2. Read range from the response. It holds the timestamps of the contract’s first and latest transfer. If both are null, the contract has no transfers of that type.
  3. Request windows that fall inside range and are no longer than 90 days.
  4. For a longer period, split it into several windows of up to 90 days each.
Example response:
Here, valid windows start no earlier than 1700000000 and end no later than 1782000000.

Compatibility Note

This change was not fully backward-compatible for clients that relied on the API correcting their timestamps. The rules are now explicit and predictable. If your integration sent windows that were invalid or too large, you now receive:
  • 400 when timestampFrom is after timestampTo, or when both are sent and are more than 90 days apart.
  • 200 with empty items and the range object when a timestamp falls outside the contract’s transfer activity.

Time-Window Rules

  • No transfers at all: the response has empty items, and both range values are null.
  • Order: timestampFrom must not be after timestampTo. Otherwise the API returns 400.
  • Outside the activity range: if a timestamp you send is before the first transfer or after the latest one, the response is 200 with empty items and range.
  • Maximum span: when you send both timestamps, they can be at most 90 days apart. A larger span returns 400.
  • Only timestampFrom sent: the window ends 90 days later, or at the latest transfer if that comes sooner.
  • Only timestampTo sent: the window starts 90 days earlier, or at the first transfer if that comes later.
  • Neither sent: the window is the latest 90 days of activity.
  • Every response includes range, so you can always see the valid bounds.

What Changed from Previous Behavior

The API no longer:
  • Moves timestampFrom forward when it is before the first transfer.
  • Caps a future timestampTo at the current time.
  • Corrects timestamps outside the activity range. It returns 200 with empty items and range instead.
  • Shortens windows longer than 90 days. When you send both timestamps more than 90 days apart, it returns 400.