What Does node_lead_blocks Measure in WAB Health?
Short answer
The balance subsection reports node_lead_blocks alongside heartbeat_height and heartbeat_headers. In this sample the Mainnet value equals the difference between those two counts (976275 − 887061 = 89214). This is an observed relationship, not a verified source-code definition for all situations.
Command
curl -sS http://127.0.0.1:7070/api/v5/btc/health | jq .
The request is read-only and uses the local self-hosted Engine HTTP API. To inspect a specific network, you can also run:
curl -sS http://127.0.0.1:7070/api/v5/btc/health | jq '.nets.main'
curl -sS http://127.0.0.1:7070/api/v5/btc/health | jq '.nets.test'
Observed test result
Mainnet: node_lead_blocks=89214; Testnet: node_lead_blocks=0.
These are values from a November 17, 2026 test snapshot, not live values or guarantees about other installations.
How to interpret it
Treat this as an indicator of the current header-to-processed-height gap. Check actual Engine code before claiming its exact calculation in every state.
Scope and caution
This article describes the fields shown in the supplied Engine response. Where precise implementation semantics are not established by the snapshot, they are not assumed. A healthy API is not equivalent to a synchronized blockchain, verified wallet balance, or confirmed payment.
