Guide

How to import one old Litecoin payment without rescanning the chain

A pruned Litecoin Core node can add one confirmed payment to its wallet with the transaction and a Merkle proof. Check the exact output before trusting the balance.

How to import one old Litecoin payment without rescanning the chain

Dotted-underlined terms open a quick definition. Close it to keep reading.

You have the for an old payment. The is in your , but the payment is missing from its history and your has discarded the original body. If another still has that block, you can retrieve two pieces of data from it and add just that payment to Litecoin Core.

The important check comes after the import. A payment can be confirmed and visible in your wallet even when its original output was spent long ago. Keep the transaction ID and output number together so you can check both facts separately.

Get the transaction and its proof

Start with the payment's transaction ID and its containing block hash. On a node that still has the full block, run these commands using Bash quoting and your real values for TXID and BLOCKHASH.

litecoin-cli getrawtransaction "$TXID" false "$BLOCKHASH"
litecoin-cli gettxoutproof "[\"$TXID\"]" "$BLOCKHASH"

Save the two hex strings separately. The first is the serialized transaction. The second contains a block header and a partial Merkle tree that connects the transaction ID to that header. With the block hash supplied and the body available, these lookups can work without a transaction index. A pruned node may know the header yet lack the block body needed to produce the proof. See the Litecoin Core transaction RPCs and the guide to what an inclusion proof establishes.

Import into the right wallet

On your synced Litecoin Core node, select the wallet that already recognizes the receiving address or script. This example covers a regular transparent payment. In a legacy wallet, getaddressinfo can help you check whether the address belongs to the wallet or is .

litecoin-cli verifytxoutproof "$PROOF"
litecoin-cli -rpcwallet="$WALLET" importprunedfunds "$RAW" "$PROOF"
litecoin-cli -rpcwallet="$WALLET" gettransaction "$TXID" true

Set RAW to the raw transaction hex, PROOF to the proof hex and WALLET to the loaded wallet name. The verification call should return an array containing your TXID. The import also checks that the transaction matches the proof, the block is on the chain processed by the wallet and at least one output belongs to the wallet. If the wallet rejects the transaction for having no matching address, first check the selected wallet and the output script. A successful import adds the wallet record. It does not or give a watch-only wallet . See the wallet RPC implementation and the upstream import tests.

Check the output separately

Find the payment's vout in the wallet transaction details. Then check that exact output against the node's set, which tracks outputs that are still unspent.

litecoin-cli gettxout "$TXID" "$VOUT" false
litecoin-cli gettxout "$TXID" "$VOUT" true
  • Both calls return an output. It is unspent in the confirmed chain and the local has no spend that hides it. Check its amount and script against your payment record.
  • Only the first call returns an output. It is still unspent in the confirmed chain, but your node knows of a pending spend. The second call includes the local mempool.
  • Neither call returns an output. Check the network and output number first. If the contains that exact ordinary payment output on the synced active chain, its absence from the confirmed UTXO set means it has already been spent.

The chain RPC implementation shows how Core applies the mempool check. The UTXO result describes the output's state. Whether your wallet can spend it also depends on its keys and any script conditions.

The 1 LTC that reappeared in the wallet

In an isolated Litecoin Core 0.21.5.8 regtest, we mined a 1 LTC payment, spent its output in the next block, then added the receiving address to a legacy watch-only wallet with scanning disabled. The wallet's trusted watch-only balance started at 0 LTC. After importing only the payment, it showed 1 LTC and reported two confirmations for the deposit. The same node still returned null for gettxout on that exact output.

We also tried importing the spending transaction. Core rejected it because none of its outputs matched the watch-only wallet. In this case, importing another proof could not fill in the missing spend. The test used an unpruned node with an intentionally incomplete wallet history. It isolates the wallet behavior from the separate question of whether the old block body is still on disk.

When a single import is enough

For one receipt, save the TXID, block hash, output number and what the UTXO check returned. If you need a complete wallet history or a balance for accounting, a selective import can leave gaps. A scan from the payment block can recover later wallet activity when the required blocks are available. The wallet history recovery guide explains which data you need for a .

Sources checked November 8, 2026. Research and drafting used AI assistance. The cover is a conceptual illustration.

Method and data

Content review recorded: 2026-11-08. The review record does not identify a separate independent reviewer. An edited date above records an edit, not a new fact-check. AI-assisted editing or new artwork alone does not complete a source review.

Next scheduled review: 2027-02-06.

Sources saved with the review:

See the article body for source links and any downloadable materials. Editorial method · Corrections · Report an issue

Jarosław Wasiński
Editor-in-chief · Financial markets and Litecoin education

Editor-in-chief of Litecoin.watch and founder of MyBank.pl. His published work covers foreign exchange, financial education and Litecoin. On Litecoin.watch, his remit includes editorial direction, source transparency and the practical guides and research published by the site.

Background, selected work and editorial responsibility →

Founder of MyBank.plFinancial education and market analysisNamed editorial responsibility