get_blocks
Retrieve full Chia block data, including transactions, for a specified height range; request only up to three blocks at a time because complete blocks are large.
Instructions
Get full blocks for a range of heights [start, end). Returns complete block data including transactions. Keep ranges small (≤3 full blocks) as full blocks are large.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start": "<start>",
"end": "<end>"
},
"name": "get_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End height (exclusive) | |
| start | Yes | Start height (inclusive) | |
| exclude_reorged | No | If true, exclude blocks that were reorged (default: false) | |
| exclude_header_hash | No | If true, exclude header hashes from the response (default: false) |