encode_hook_can_emit
Build a canonical HookCanEmit hex from transaction types a hook may emit; omit to allow any transaction.
Instructions
Build a canonical HookCanEmit hex from the list of transaction types a hook should be allowed to emit (HookCanEmit amendment; same encoding as HookOn). Omit the field entirely on the SetHook to allow emitting anything. Offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txTypes | Yes | e.g. ["Payment","Remit"] |