decode_sethook
Decode a SetHook transaction from JSON or hex blob into hook definitions with HookOn decoded. Works offline.
Instructions
Decode a SetHook transaction (JSON or tx blob) into its hook definitions, each with HookOn decoded. Offline.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "decode_sethook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | No | ||
| txBlobHex | No |