LastIdPaging: {
    lastId: string;
    take: number;
}

For paginating Subgraph queries by using the last ID of the previous paged result to get the next page. Relies on Subgraph ordering ID's in ascending order which it always does unless the results are ordered by id in desc order. NOTE: Also known as "cursor based pagination".

Type declaration

  • Readonly lastId: string
  • Readonly take: number

Generated using TypeDoc