How Do mempool_ok and mempool_tx_count Differ?
Short answer
mempool_ok is a status flag, while mempool_tx_count and mempool_cache_tx are counts in the balance subsystem. The sample cannot establish that a zero count means the global Bitcoin mempool is empty.
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: mempool_ok=true, mempool_tx_count=0, mempool_cache_tx=0. Testnet: mempool_ok=true, mempool_tx_count=15, mempool_cache_tx=15.
These are values from a November 17, 2026 test snapshot, not live values or guarantees about other installations.
How to interpret it
Always interpret counts together with mempool_attribution_ok, chain synchronization, and the check timestamps.
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.
