get Checkpoint
open suspend override fun getCheckpoint(checkpointId: <Error class: unknown class>?): <Error class: unknown class><GetCheckpointQuery.Data?, <Error class: unknown class>>
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:
Ok: Containing a nullable GetCheckpointQuery.Data object with the checkpoint details.Err: Containing a SuiError object with a list of SdkErrorDetails.
Parameters
checkpoint Id
The identifier of the checkpoint to fetch. Can be a sequence number or digest.