decode_hook_on
Decode a HookOn bitmap into the set of transaction types that fire the hook. Handles inverted/active-low encoding and the active-high SetHook bit offline.
Instructions
Decode a HookOn 256-bit bitmap into the set of transaction types the hook fires on. Handles the inverted/active-low encoding and the active-high SetHook bit. Offline.
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": {
"hookOn": "<hookOn>"
},
"name": "decode_hook_on"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hookOn | Yes | HookOn hex (up to 64 chars) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| error | No | ||
| hookOn | No | ||
| firesOn | No |