get_block_spends_with_conditions
Retrieves every coin spend in a Chia block and parses its CLVM conditions, returning puzzles, solutions, and outputs such as CREATE_COIN and AGG_SIG for inspection.
Instructions
Get all coin spends in a block with their parsed CLVM conditions. Returns puzzles, solutions, and the conditions each spend produced (CREATE_COIN, AGG_SIG, etc.).
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_with_conditions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| header_hash | Yes | The header hash of the block (0x-prefixed, 32 bytes hex) |