Watchtower · Bitcoin Cash infrastructure
Your app is only as good as its bridge to the chain. Watchtower is that bridge.
Watchtower is the infrastructure between a Bitcoin Cash app and the chain: a real-time UTXO database for subscribed addresses, webhooks and WebSockets for events, and transaction broadcasting with mempool monitoring. The same service also provides the DeFi, trading, wallet and payment tools.
- Real-time UTXO database
- Webhooks and WebSockets
- AnyHedge and StableHedge
- P2P exchange and escrow
- Merchant POS
What it provides
Monitoring, DeFi, trading and wallets, in one service.
Core blockchain infrastructure
Watchtower keeps a real-time UTXO database for subscribed addresses, sends instant notifications through webhooks and WebSockets, broadcasts transactions and monitors the mempool. Multiple failover nodes and indexers serve as data sources.
Advanced financial tools
AnyHedge derivatives hedge BCH against a fiat price, settled from an oracle feed. The contract and its settlement are reached through the DeFi API. StableHedge treasury handles automated shorting and rebalancing. A P2P exchange platform runs on escrow contracts with arbitration.
Wallets and payments
Multisig wallets in M-of-N configurations, with LibAuth handling the transaction work; the threshold lives in the locking script, not in a permission check on our side. HD wallet operations cover deriving, tracking and sweeping across a wallet's addresses. A merchant POS handles business payment processing.
Complete API ecosystem
Blockchain APIs for addresses, transactions and subscriptions; DeFi APIs for contract management and settlement; trading APIs for order matching and market data; wallet APIs for multisig and HD wallet operations; payment APIs including BIP70; and WebSockets for live updates across all services.
The specifics
What the service is built on.
Uptime
99.99% uptime guarantee, regardless of scale.
Scale
Handles millions of addresses.
Latency
Sub-second notification delivery.
Data sources
Multiple failover nodes and indexers as data sources.
Task queue
Distributed parallel background task queue for scanning blocks and sending notifications.
WebSocket
wss://watchtower.cash/ws: a two-way connection for live blockchain data. Webhooks carry the same events to an endpoint when a standing connection is not what the application wants.
Tenancy
Multiple projects per deployment, including country-specific features. Wallets, addresses and transactions are scoped to the project that owns them; the nodes and indexers are shared.
SDKs
JavaScript, Python and more.
Endpoints
Primary https://watchtower.cash/api/v1, failover https://backup.watchtower.cash/api/v1.
Start building on Watchtower.
Watchtower is built and maintained by Paytaca. It is in beta, and the documentation, the API browser, the source code and the system status are public.