What does the Bitcoin Core RPC command getblock do?
Answer: Returns data for a block identified by its hash.
Category: Blockchain RPC.
Operational classification: Read-only or diagnostic.
Inspect the exact syntax:
bitcoin-cli help getblock
Important: On a pruned node, older block data may be unavailable; check the node’s pruning state before relying on historical scans.
Documentation:
Bitcoin Core RPC reference (choose your deployed release):
https://bitcoincore.org/en/doc/
Related guide:
https://thamer.org/docs/
