explain_script
Decode Bitcoin Script hex to break down opcodes for understanding transaction logic and validation.
Instructions
Decode a Bitcoin Script hex and break down the opcodes.
Args: hex_script: Script in hex format
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": {
"hex_script": "<hex_script>"
},
"name": "explain_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex_script | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |