What does the Bitcoin Core RPC command getblockcount do?
Answer: Returns the height of the active chain tip.
Category: Blockchain RPC.
Operational classification: Read-only or diagnostic.
Inspect the exact syntax:
bitcoin-cli help getblockcount
Important: The reported active tip may change during reorganization; compare chain and synchronization state when monitoring.
Documentation:
Bitcoin Core RPC reference (choose your deployed release):
https://bitcoincore.org/en/doc/
Related guide:
https://thamer.org/docs/
