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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "estimate_hook_fee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wasmHex | No | ||
| wasmBase64 | No |