Litecoin Blockbook (WebSocket) API
The Blockbook indexer WebSocket interface for Litecoin: request/response queries (status, account info, UTXOs, transactions, broadcast, fee estimation) plus subscriptions to new blocks and address activity over a persistent connection.
Blockbook (REST) and Blockbook (WebSocket) are provisioned as separate interfaces with their own endpoint URLs. Enabling one does not enable the other. A project that watches an address and queries it needs both.
Use WebSocket when subscriptions are required, and REST for one-off queries. A standard Litecoin JSON-RPC endpoint does not support Blockbook methods, and the Litecoin Core wallet RPCs such as listunspent are disabled on shared nodes.
Base URL
bashwscat -c wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>Methods
| Method | Description |
|---|---|
| getInfo | Indexer and backend status |
| getAccountInfo | Address or xpub balance and transaction history |
| getAccountUtxo | Unspent outputs for an address, xpub, or descriptor |
| getTransaction | Normalized transaction by txid |
| sendTransaction | Broadcast a signed, serialized transaction |
| estimateFee | Fee estimate for one or more confirmation targets |
| subscribeNewBlock | Subscribe to new blocks as they are connected |
| subscribeAddresses | Subscribe to activity on a set of addresses |
Support
- Support: support@getblock.io