ethers.js/src.ts/providers/pagination.ts

9 lines
218 B
TypeScript
Raw Normal View History

2022-09-05 23:14:43 +03:00
export interface PaginationResult<R> extends Array<R> {
next(): Promise<PaginationResult<R>>;
// The total number of results available or null if unknown
totalResults: null | number;
done: boolean;
}