Litecoin
GetBlock provides RPC endpoints that implement the Litecoin JSON-RPC API standard. These methods are core functionalities for interacting with Litecoin nodes.
The Litecoin network offers a comprehensive suite of methods that enable developers to interact seamlessly with its blockchain infrastructure. This overview provides an in-depth examination of these methods, categorizing them into key functional areas for better understanding and implementation.
What you can expect to find in this documentation
Compatibility with the Litecoin mainnet and testnets
Purpose, functionality, and use cases of each Litecoin method
Required input parameters
Sample requests and responses
Code examples in multiple programming languages (Python, JavaScript)
What you can do with this API:
Query real-time blockchain data
Retrieve block and transaction information
Monitor mempool and network status
Submit and track transactions
Access mining statistics and difficulty
Base URL
Supported Networks
Mainnet
✅
✅
✅
Node-level queries: blocks, raw transactions, mempool, mining, network state
Address balances, UTXOs, wallet-level xpub queries, transaction history, fiat rates
The same queries plus live subscriptions to new blocks and address activity
Quickstart
In this section, you will learn how to make your first call with either:
Axios
Python
Before you begin, you must have already installed npm or yarn on your local machine (for the Axios example) or Python and pip (for the Python example).
Available Methods
Litecoin is documented across three interfaces, each provisioned as its own endpoint.
Litecoin JSON-RPC API: The Litecoin Core node interface: blocks, raw transactions, mempool inspection, mining data, network state, and fee estimation. Methods are grouped by area on the section page.
Litecoin Blockbook REST API: Address- and xpub-indexed queries over HTTP: balances, transaction history, unspent outputs, wallet-level xpub lookups, balance history, and fiat rates.
Litecoin Blockbook (WebSocket) API: The same indexed queries over a persistent connection, plus subscriptions to new blocks and to activity on a set of addresses.
Support
For technical support and questions:
Support: support@getblock.io
See Also
Last updated
Was this helpful?