getCheckpoints

abstract suspend fun getCheckpoints(first: Int?, before: String?, last: Int?, after: String?): Result<GetCheckpointsQuery.Data?, SuiError>

Fetches a paginated list of checkpoints.

This method supports bidirectional pagination.

Return

A Result which is either:

Parameters

first

An optional integer specifying the number of items to return when paginating forward.

after

An optional cursor for forward pagination.

last

An optional integer specifying the number of items to return when paginating backward.

before

An optional cursor for backward pagination.