Skip to main content
SupernodeService is a gRPC service exposed by every Lumera SuperNode. It gives you a real-time snapshot of the node’s health. The snapshot covers software version, uptime, CPU and memory load, and connected peers. When you opt in, it also includes detailed DHT diagnostics. You can use this service to build monitoring dashboards, alerting pipelines, or operational tooling without any on-chain queries.

Connection

SuperNodes listen on port 4444 by default (configurable via supernode.port in config.yml). You can verify connectivity with grpcurl.
If TLS is enabled on the SuperNode, replace -plaintext with the appropriate -cacert / -cert / -key flags. Most production deployments terminate TLS at a reverse proxy and expose plaintext gRPC internally.

Proto definition


GetStatus

Returns a point-in-time status snapshot of the SuperNode. The request lets you toggle expensive P2P diagnostics on or off, so routine polling stays lightweight.

Request message StatusRequest

bool
default:"false"
When true, the response includes the full p2p_metrics object containing DHT store/retrieve history, handle counters, ban list, database stats, and disk usage. Set this to false (or omit it) for routine health polling. The peers_count field is always fast and is returned regardless of this flag. Heavier diagnostics are served from a cached last-known-good snapshot.

Response message StatusResponse

string
The SuperNode software version string (e.g., "v2.5.2").
uint64
Seconds elapsed since the SuperNode process started.
object
Hardware resource utilisation at the time of the call.
array of strings
The service names this SuperNode is registered to provide. This is typically ["cascade", "sense"] or a subset of it.
object
P2P network connectivity information.
int32
This node’s rank in the top-SuperNodes list as computed by the chain. Returns 0 if the node is not currently in the top list.
string
The publicly-advertised IP address and service port of this SuperNode (e.g., "203.0.113.45:4444").
object
Detailed P2P and DHT diagnostics. Only present when include_p2p_metrics is true.

Example response


Full example with P2P metrics

Pass include_p2p_metrics: true to receive DHT diagnostics alongside the standard fields.