encode_hook_on
Build a canonical HookOn hex string from a list of transaction types, enabling offline specification of which transactions fire the hook.
Instructions
Build a canonical HookOn hex from a list of transaction types to fire on. Offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txTypes | Yes | e.g. ["Payment","Invoke"] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| hookOn | No | ||
| firesOn | No |