get Checkpoints
suspend fun getCheckpoints(cursor: Int? = null, limit: Long? = null, descendingOrder: Boolean = false): CheckpointPage
Fetches paginated list of checkpoints.
Return
a CheckpointPage object representing the fetched checkpoints
Parameters
cursor
the cursor to start fetching from
limit
the maximum number of checkpoints to fetch
descending Order
whether to return the checkpoints in descending order (defaults to false)
Throws
if there is an error fetching the checkpoints