« All posts

Litecoin RPC: Core JSON-RPC and Blockbook for UTXO Management

Litecoin operates on a UTXO model. Learn how to query addresses and UTXOs using JSON-RPC and Blockbook APIs.

Litecoin, operational since 2011, is designed for fast, low-cost payments and utilizes a UTXO model similar to Bitcoin. However, Litecoin Core does not provide an address index, requiring developers to use two APIs: Litecoin Core JSON-RPC and Blockbook REST API. These APIs are used to query data such as blocks, transactions, and address information.

In the UTXO model, an address's balance is determined by the sum of its unspent transaction outputs. Developers must first retrieve the UTXO list before constructing a transaction. Additionally, transaction fees are calculated in litoshi, and confirmation times are probabilistic. While Litecoin shares many similarities with Bitcoin, it offers faster block times and features like MWEB.