lookup_opcode
Look up Kaspa opcodes by hex code or name to retrieve code, name, and disabled/illegal status. Get essential details for script analysis.
Instructions
Look up a Kaspa opcode by hex code (e.g. '0xa8') or by name (e.g. 'OpSHA256'). Returns code, name, disabled/illegal status.
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": {
"query": "<query>"
},
"name": "lookup_opcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Opcode hex code or name. |