getCheckpoint

abstract suspend fun getCheckpoint(checkpointId: CheckpointId? = CheckpointId()): Result<GetCheckpointQuery.Data?, SuiError>

Fetches the details of a specific checkpoint.

If checkpointId is not provided, it defaults to fetching the latest checkpoint.

Return

A Result which is either:

Parameters

checkpointId

The identifier of the checkpoint to fetch. Can be a sequence number or digest.