List system packages
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the complete set of system packages at the end of the requested checkpoint, or at the latest indexed checkpoint if omitted. Packages are ordered by package ID. Each package is returned at the version active at that checkpoint. The publication checkpoint can be absent if pruned.
gRPC method: sui.rpc.v2.MovePackageService.ListSystemPackages (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/move_package_service.proto.
Use proto files that include the Sui v1.85.2 API changes (MystenLabs/sui-apis commit 680d19c).
Example grpcurl request:
grpcurl \
-H 'api-key: YOUR_API_KEY' \
-emit-defaults \
-proto './sui-apis-grpc/proto/sui/rpc/v2/move_package_service.proto' \
-import-path './sui-apis-grpc/proto' \
-d '{}' \
'sui-grpc.nownodes.io:443' \
sui.rpc.v2.MovePackageService.ListSystemPackagesBody
atCheckpointstring<uint64>Optional checkpoint at whose end to resolve the system packages. Omit for the latest indexed checkpoint.
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. OUT_OF_RANGE (BELOW_EARLIEST_AVAILABLE or ABOVE_LATEST_AVAILABLE): checkpoint outside available history. The captured request for checkpoint 100000000 returned OUT_OF_RANGE. UNIMPLEMENTED (NOT_SERVED_HERE): required indexes disabled; UNAVAILABLE (NOT_READY): indexes not ready. A node that does not support the requested operation returns UNIMPLEMENTED (NOT_SERVED_HERE); a node not ready to serve it returns UNAVAILABLE (NOT_READY). Historical data outside the retained range can return OUT_OF_RANGE (BELOW_EARLIEST_AVAILABLE); requests beyond the indexed tip can return OUT_OF_RANGE (ABOVE_LATEST_AVAILABLE) where applicable.