decode_hook_can_emit
Decode a HookCanEmit hexadecimal bitmap into the set of transaction types a hook is permitted to emit.
Instructions
Decode a HookCanEmit 256-bit bitmap into the set of transaction types a hook is permitted to EMIT (HookCanEmit amendment). Same encoding as HookOn (inverted/active-low, active-high SetHook bit). NOTE: an ABSENT HookCanEmit field means the hook may emit ANY transaction (including SetHook) — this tool only decodes a present value. 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": {
"hookCanEmit": "<hookCanEmit>"
},
"name": "decode_hook_can_emit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hookCanEmit | Yes | HookCanEmit hex (up to 64 chars) |