get_puzzle_and_solution_with_conditions
Retrieve a spent coin's puzzle, solution, and parsed CLVM conditions at its spent block height. Use it to inspect CREATE_COIN, AGG_SIG, and other outputs without a local CLVM interpreter.
Instructions
Get the puzzle, solution, AND parsed CLVM conditions for a coin spent at a specific height. Like get_puzzle_and_solution but also returns the conditions (CREATE_COIN, AGG_SIG, etc.) produced by running the puzzle with the solution. ⚠️ Coinset-hosted-node extension — not available on a local chia-blockchain node or the simulator. For a local node, use get_puzzle_and_solution and evaluate conditions with a local CLVM interpreter. ⚠️ height MUST be the coin's spent_block_index — call get_coin_record_by_name first to obtain it. Passing the current height or confirmed_block_index fails with INVALID_HEIGHT_FOR_COIN.
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": {
"coin_id": "<coin_id>",
"height": "<height>"
},
"name": "get_puzzle_and_solution_with_conditions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| height | Yes | Must be exactly the spent_block_index from the coin's record (get_coin_record_by_name) — NOT the current chain height and NOT confirmed_block_index. Any other value fails with INVALID_HEIGHT_FOR_COIN. | |
| coin_id | Yes | The coin ID of the spent coin (0x-prefixed, 32 bytes hex) |