Type Alias Pagination

Pagination: {
    after?: number;
    before?: number;
    has_more: boolean;
    limit: number;
    total?: number;
}

Pagination metadata common to list endpoints.

  • limit: page size requested
  • has_more: whether another page can be fetched
  • total: exact total when provided by the backend
  • before/after: exclusive cursors (heights) for block pagination