fetchEventsPaginated
Retrieve paginated event listings from prediction markets using a cursor for efficient multi-page access. Returns compact summaries by default.
Instructions
Paginated variant of {@link fetchEvents}. On the first call (no cursor), all events are fetched from the exchange and cached in an in-memory snapshot. A cursor is returned along with the first page. Subsequent calls with that cursor serve additional pages directly from the cached snapshot -- no additional API calls are made. The snapshot is invalidated after snapshotTTL ms (configured via ExchangeOptions in the constructor). A request using a cursor from an expired snapshot throws 'Cursor has expired'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exchange | Yes | The prediction market exchange to target. | |
| limit | No | ||
| cursor | No | ||
| filter | No | ||
| verbose | No | Return full uncompacted response. Default false returns a compact, agent-friendly summary. |