How Can I Compare Mainnet and Testnet Health in One Request?
Short answer
The endpoint returns nets.main and nets.test in one JSON response. In the completed test both had ok=true, synced=true, heartbeat_ok=true, and mempool_attribution_ok=true.
Command
curl -sS http://127.0.0.1:7070/api/v5/btc/health | jq '{main: {synced: .nets.main.synced, heartbeat_ok: .nets.main.balance.heartbeat_ok, mempool_attribution_ok: .nets.main.balance.mempool_attribution_ok}, test: {synced: .nets.test.synced, heartbeat_ok: .nets.test.balance.heartbeat_ok, mempool_attribution_ok: .nets.test.balance.mempool_attribution_ok}}'
The command is read-only and uses only fields present in the supplied response.
Interpretation and limits
This is a recorded observation from November 17, 2026. These fields are snapshots, not promises of future readiness. Individual wallet operations still need separate checks.
What the observed result tells us
Use jq to select a small comparison without hiding the full response. Both networks can change independently.
Source context
This article is based on the operator's status.sh output and GET /api/v5/btc/health JSON captured after both Mainnet and Testnet reached reported 100% synchronization. The prior Mainnet syncing snapshot is used only where explicitly compared. The exact implementation semantics of internal counters should be verified against the matching Engine release before treating them as API guarantees.
