get_hook_definition
Retrieve a HookDefinition by hash to access its WASM code, HookOn, fee, and reference count. Read-only.
Instructions
Fetch a HookDefinition ledger object by hash (CreateCode WASM, HookOn, fee, reference count). Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hookHash": "<hookHash>"
},
"name": "get_hook_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | mainnet | |
| hookHash | Yes |