GetServiceInfo - Inspect Sui Node State via gRPC
Query the Sui network, epoch, checkpoint height, retention bounds, and node version through Dwellir's gRPC endpoint.
Sui RPC endpoint: endpoint URLs, plans and pricing.
LedgerService.GetServiceInfo returns the node's current network identity and synchronization position. Use it for readiness checks, version discovery, and retention-aware recovery.
Method Signature
- Service:
sui.rpc.v2.LedgerService - Method:
GetServiceInfo - Type: Unary RPC
grpcurl \
-H "x-api-key: YOUR_API_KEY" \
-d '{}' \
api-sui-mainnet-full.n.dwellir.com:443 \
sui.rpc.v2.LedgerService/GetServiceInfoThe checkpoint_height field identifies the highest executed checkpoint. Compare it across requests to confirm advancement. Before backfilling older data, compare the required checkpoint with lowest_available_checkpoint and lowest_available_checkpoint_objects.
Related Methods
See the official Sui gRPC schema for the current protobuf definition.
TypeScript
Connect a Node.js TypeScript client to Dwellir Sui gRPC using official v2 protobuf files, TLS, metadata authentication, and deadlines.
BatchGetObjects
Retrieve multiple Sui objects in a single gRPC request for maximum efficiency. Learn how to use BatchGetObjects to minimize latency and optimize blockchain data fetching with Dwellir's Sui infrastructure.