get_recent_blocks
Fetch up to 50 recent Bitcoin blocks from a self-hosted node to analyze short-term block times, fees, and mining activity.
Instructions
Get the most recent Bitcoin blocks (max 50, i.e. a few hours). For weekly block time, fees or hashprice use get_weekly_stats
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_recent_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of blocks to return (default: 10, max: 50) |