Comment on page
Verifying your node's chain synchronization
To check whether your node is synchronized with the leader, there's a built-in endpoint at port
/node-sync. It returns a boolean flag
falseto indicate whether your node is caught up to the latest block, on par with the majority node-runners.
This endpoint can be used to feed into your favorite dashboard metrics (Grafana, CloudWatch, etc.) and trigger alarms (Healthchecks.io, UptimeRobot, PagerDuty, webhooks into Discord, etc.) that can to help monitor your node operations. If you're running a node service to host the RPC endpoint on port
9500, this will be a great way to check the health of your nodes behind a load balancer and take unhealthy nodes out of rotation.