importprunedfunds

Input(s) 2

For pruned wallets, enabling users to import funds without triggering a rescan. The corresponding address or script must already exist in the wallet. Users are responsible for importing subsequent transactions spending the imported outputs or performing a rescan after the relevant point in the blockchain.

How is this used?

This command is particularly useful for users managing pruned wallets who need to import funds from specific transactions. By importing funds without triggering a rescan, users can efficiently manage their wallet's funds without needing to synchronize with the entire blockchain. It allows users to work with pruned wallet setups while still accessing and managing their funds effectively. However, users must ensure that any subsequent transactions spending the imported outputs are also imported into the wallet or perform a rescan to update the wallet's state accordingly.

Request

method

importprunedfunds

rawtransaction

Required

txoutproof

Required

Inputs(2)

two required input remaining...

rawtransaction (required) - A raw transaction in hex funding an already-existing address in wallet
txoutproof (required) - The hex output from gettxoutproof that contains the transaction

Result