get_block_count
Retrieve the current Bitcoin blockchain height to monitor network progress and verify synchronization status.
Instructions
Get current block height (lightweight, fast).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/bitcoin_mcp/server.py:1035-1038 (handler)Implementation of the get_block_count tool, which retrieves the current block height.
except Exception as e: hint = _connection_hint(e) return json.dumps({"error": str(e), "hint": hint})