annotate_hook_trace
Decodes and annotates hex traces from Xahau hook execution, identifying XFL floats, int64, UInt32, dates, account IDs, and hashes while preserving raw data.
Instructions
Annotate the trace[] array from an execute_hook result. Each entry is "label: HEXVALUE" (the hook's trace() memory dump). Decodes each blob by byte-width: 8-byte → canonical XFL float (definite) else int64 (both endians) + native-drops reading; 4-byte → UInt32 (both endians) + Ripple-epoch ISO date if in range; 20-byte → candidate account-id → r-address (possible, since arbitrary bytes can coincidentally encode); 32-byte → possible tx/hook hash (heuristic); other widths → raw blob. The raw hex is ALWAYS preserved as the primary field; nothing is suppressed; confidence is 'definite' only for canonical XFL. Fully offline, no network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace | Yes | trace[] from an execute_hook result; each element "label: HEXVALUE" |