> For the complete documentation index, see [llms.txt](https://docs.getblock.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getblock.io/api-reference/litecoin/litecoin-blockbook-websocket-api.md).

# Litecoin Blockbook (WebSocket) API

GetBlock provides fast and reliable access to Litecoin nodes via the Blockbook WebSocket API. Connect to the Litecoin network without running your own infrastructure.

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.

{% hint style="info" %}
Use WebSocket when subscriptions are required, and [REST](/api-reference/litecoin/litecoin-blockbook-rest-api.md) for one-off queries. A standard [Litecoin JSON-RPC](/api-reference/litecoin/litecoin-json-rpc-api.md) endpoint does not support Blockbook methods, and the Litecoin Core wallet RPCs such as `listunspent` are disabled on shared nodes.
{% endhint %}

### Base URL

```bash
wscat -c wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>
```

### Methods

| Method                                                                                                        | Description                                         |
| ------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| [getInfo](/api-reference/litecoin/litecoin-blockbook-websocket-api/getinfo-litecoin.md)                       | Indexer and backend status                          |
| [getAccountInfo](/api-reference/litecoin/litecoin-blockbook-websocket-api/getaccountinfo-litecoin.md)         | Address or xpub balance and transaction history     |
| [getAccountUtxo](/api-reference/litecoin/litecoin-blockbook-websocket-api/getaccountutxo-litecoin.md)         | Unspent outputs for an address, xpub, or descriptor |
| [getTransaction](/api-reference/litecoin/litecoin-blockbook-websocket-api/gettransaction-litecoin.md)         | Normalized transaction by txid                      |
| [sendTransaction](/api-reference/litecoin/litecoin-blockbook-websocket-api/sendtransaction-litecoin.md)       | Broadcast a signed, serialized transaction          |
| [estimateFee](/api-reference/litecoin/litecoin-blockbook-websocket-api/estimatefee-litecoin.md)               | Fee estimate for one or more confirmation targets   |
| [subscribeNewBlock](/api-reference/litecoin/litecoin-blockbook-websocket-api/subscribenewblock-litecoin.md)   | Subscribe to new blocks as they are connected       |
| [subscribeAddresses](/api-reference/litecoin/litecoin-blockbook-websocket-api/subscribeaddresses-litecoin.md) | Subscribe to activity on a set of addresses         |

### Support

* Support: <support@getblock.io>
