How to Query Litecoin Using Core JSON-RPC and Blockbook APIs
Litecoin is a UTXO-based blockchain launched in 2011, meaning coin balances are derived from unspent transaction outputs rather than account balances like on Ethereum. Because Litecoin Core does not index data by address by default, developers must rely on two complementary APIs to access the full range of blockchain data. The Core JSON-RPC endpoint handles blocks, raw transactions, mempool queries, and fee estimates, while Blockbook — an open-source indexer by Trezor — provides address balances, transaction history, and UTXO lists. Balance values returned by Blockbook are denominated in litoshi, the smallest unit of Litecoin, where one LTC equals 100 million litoshi. Together, these two APIs cover all data needs for building Litecoin-integrated applications, from transaction broadcasting to full wallet management via extended public keys.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in