What does the Bitcoin Core RPC command scanblocks do?
Answer: Scans available block filters for descriptor matches.
Category: Blockchain RPC.
Operational classification: Changes node or wallet state.
Inspect the exact syntax:
bitcoin-cli help scanblocks
Important: Results may depend on optional indexes and available transaction or block data. On a pruned node, older block data may be unavailable; check the node’s pruning state before relying on historical scans. This operation can change local node or wallet state. Do not run it as an unattended diagnostic.
Documentation:
Bitcoin Core RPC reference (choose your deployed release):
https://bitcoincore.org/en/doc/
Related guide:
https://thamer.org/docs/
