Get checkpoint
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns a checkpoint.
If neither sequenceNumber nor digest is provided, the latest checkpoint is returned.
gRPC method: sui.rpc.v2.LedgerService.GetCheckpoint (unary).
This is a gRPC method (HTTP/2, Protocol Buffers), not a REST endpoint. The request and response bodies below are shown in the proto3 JSON form that tools such as grpcurl and Postman accept and print. Pass your NOWNodes API key as the api-key gRPC metadata header. Proto files: sui/rpc/v2/ledger_service.proto.
Example grpcurl request:
grpcurl \
-insecure \
-H 'api-key: YOUR_API_KEY' \
-emit-defaults \
-proto './sui-apis-grpc/proto/sui/rpc/v2/ledger_service.proto' \
-import-path './sui-apis-grpc/proto' \
-d '{}' \
'sui-grpc.nownodes.io' \
sui.rpc.v2.LedgerService.GetCheckpointBody
Only one of sequenceNumber, digest may be set.
sequenceNumberstring<uint64>The sequence number of the requested checkpoint.
digeststringThe digest of the requested checkpoint.
readMaskobjectMask specifying which fields to read.
If no mask is specified, defaults to sequence_number,digest. Read mask: list of field paths to return, in snake_case (e.g. "object_id", "version", "digest"). Nested fields use dots (e.g. "effects.status").
Response
Successful response.
gRPC error. The status code (e.g. UNAUTHENTICATED, INVALID_ARGUMENT, NOT_FOUND) is returned in the grpc-status trailer, details in grpc-message.