next_cursor points to the last item in the page; Reading with next_cursor will start from the next item after next_cursor if next_cursor is Some, otherwise it will start from the first item.

interface PaginatedEvents {
    data: SuiEvent[];
    hasNextPage: boolean;
    nextCursor?: null | EventId;
}

Properties

data: SuiEvent[]
hasNextPage: boolean
nextCursor?: null | EventId