decode_simplicity_transaction
Extract and decode Simplicity programs from a transaction using its txid and an optional output index.
Instructions
Extract and decode Simplicity programs from a transaction
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": {
"txid": "<txid>"
},
"name": "decode_simplicity_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txid | Yes | Transaction ID | |
| output_index | No | Output index (optional) |