get_block_spends
Fetch all coin spends in a Chia block by header hash, returning the puzzle and solution for each spent coin.
Instructions
Get all coin spends in a block by its header hash. Returns the puzzle and solution for each coin spent in the block.
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": {
"header_hash": "<header_hash>"
},
"name": "get_block_spends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| header_hash | Yes | The header hash of the block (0x-prefixed, 32 bytes hex) |