estimate_hook_fee
Estimates a Hook's fee from its WASM byte size and static instruction count, giving approximate SetHook and execution costs. Offline analysis.
Instructions
Estimate a Hook's cost signals from its WASM: byte size (drives the SetHook fee) and total static instruction count (a complexity/upper-bound proxy for execution fee). Labelled ESTIMATE — the on-ledger execution fee depends on the path actually executed. Offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wasmHex | No | ||
| wasmBase64 | No |