Xahau MCP
MCPB · XAHAU-MCP-2.0.1.MCPB · SCANNED AUG 3
First MCP for the Xahau network — offline Hook WASM VM + static analyzer, read-only ledger tools.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security13
- Malware scan not yet available for this package.Unverified
- CVE data not yet available for this package.Unverified
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (197 of 198), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 52 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability70
- 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
- AI-judged instruction clarity (fair).Partial
- Tool/resource definitions use about 5839 tokens (~91/item across 64 items; 61 tools + 3 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
- Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage79
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 28% of tool parameters carry a description.Partial
- Structured output schemas are declared (30% of tools); any adoption earns full credit.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
mcpb · xahau-mcp-2.0.1.mcpb
Download bundleEvery change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 3 Aug 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.
- 2 Aug 26 +29
- Dependency health: partial → unverified ▼ functional
- Stability: unverified → 0.23 ▲ functional
- MCP protocol: unverified → pass ▲ functional
- Schema quality: unverified → fair ▲ functional
- Tool coverage: unverified → 100 ▲ functional
- Schema quality: unverified → 100 ▲ functional
- 1 Aug 26 −2
- Security disclosure: unverified → fail ▼ functional
- 31 Jul 26 −2
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 30 Jul 26 +11
- Provenance: unverified → fail ▼ security
- Install scripts: unverified → pass ▲ security
- License: unverified → pass ▲ functional
- Licence: MIT functional
- 29 Jul 26 −34
- Provenance: fail → unverified ▼ security
- Install scripts: pass → unverified ▼ security
- Maintenance: pass → unverified ▼ functional
- Schema quality: 100 → unverified ▼ functional
- Tool coverage: 100 → unverified ▼ functional
- License: pass → unverified ▼ functional
- Security disclosure: fail → unverified ▼ functional
- Dependency health: unverified → partial ▲ functional
- Licence: MIT functional
- 27 Jul 26 41
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Analysed mcpb/https://github.com/Hugegreencandle/xahau-mcp/releases/download/v2.0.1/[email protected]
Provenance none
Ecosystem: mcpb · Outcome: none
Dependencies 197 packages
197 packages in the resolved dependency tree · 187 deprecated · 81 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
analyze_hook ~101
THE MOAT: run the Hook static-analysis / security rule engine over a CreateCode WASM (+ optional SetHook params) and return SARIF-lite findings. The first Hooks-specific analyzer. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| flags | number | — | — |
| grants | array | — | — |
| hookOn | string | — | — |
| namespace | string | — | — |
| parameters | array | — | — |
| wasmBase64 | string | — | — |
| wasmHex | string | — | — |
| Name | Type | Req | Description |
|---|---|---|---|
| decoded | object | — | — |
| error | string | — | — |
| findings | array | — | — |
| summary | object | — | — |
| valid | boolean | — | — |
No examples provided.
annotate_hook_trace ~190
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.
| Name | Type | Req | Description |
|---|---|---|---|
| trace | array | yes | trace[] from an execute_hook result; each element "label: HEXVALUE" |
No output schema declared.
No examples provided.
audit_account_hooks ~54
Fetch every hook on an account, pull each HookDefinition's WASM, and run the analyzer over all of them. Read-only network + offline analysis.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | — |
| network | string | — | — |
No output schema declared.
No examples provided.
build_claimreward_unsigned ~55
Assemble an UNSIGNED ClaimReward transaction. Returns unsigned JSON + offline signing instructions. Never signs; testnet by default.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | — |
| issuer | string | — | — |
| network | string | — | — |
No output schema declared.
No examples provided.
build_import_unsigned ~78
Assemble an UNSIGNED Import (Burn2Mint) transaction wrapping a HEX-encoded XPOP in the Blob field. Returns unsigned JSON + offline signing instructions. Never signs; testnet by default.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | — |
| network | string | — | — |
| xpopBlobHex | string | yes | HEX-encoded XPOP proof |
No output schema declared.
No examples provided.
build_payment_unsigned ~106
Assemble an UNSIGNED XAH Payment (amount in drops). Returns unsigned JSON + offline signing instructions + payload preflight. Never signs; testnet by default.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | — |
| amountDrops | string | yes | native amount in DROPS (1 XAH = 1,000,000 drops); use xah_amount to convert XAH→drops |
| destination | string | yes | — |
| destinationTag | number | — | — |
| network | string | — | — |
No output schema declared.
No examples provided.
build_sethook_unsigned ~134
Assemble an UNSIGNED SetHook transaction from CreateCode + params, auto-running analyze_hook as preflight and flagging CRITICAL findings. Returns unsigned JSON + offline signing instructions. Never signs; testnet by default.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | — |
| createCodeHex | string | — | — |
| flags | number | — | — |
| grants | array | — | — |
| hookOn | string | — | — |
| namespace | string | yes | 32-byte HookNamespace hex |
| network | string | — | — |
| parameters | array | — | — |
| txTypes | array | — | — |
| wasmHex | string | — | — |
No output schema declared.
No examples provided.
classify_hook ~97
Infer in plain English what a Hook DOES (firewall/filter, emitter, stateful processor, financial/XFL, authorizer, autonomous agent…) from its structure — imports, hook/cbak exports, HookOn, state/emit/float/guard usage. Heuristic, offline; does not execute the bytecode.
| Name | Type | Req | Description |
|---|---|---|---|
| hookOn | string | — | — |
| wasmBase64 | string | — | — |
| wasmHex | string | — | — |
| Name | Type | Req | Description |
|---|---|---|---|
| archetype | string | — | — |
| behaviors | array | — | — |
| capabilities | array | — | — |
| confidence | string | — | — |
| error | string | — | — |
| firesOn | — | — | — |
| summary | string | — | — |
| valid | boolean | — | — |
No examples provided.
compute_reward ~111
Project claimable XAH network reward using the documented time-weighted model. Supply reward fields directly, or an address to read them live. Labelled DOCUMENTED_MODEL. LEGACY approximation — prefer reward_status, which applies the exact genesis reward-hook formula with live parameters.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | — | — |
| balanceXAH | number | — | — |
| currentLedger | number | — | — |
| network | string | — | — |
| rewardAccumulator | number | — | — |
| rewardLgrFirst | number | — | — |
No output schema declared.
No examples provided.
currency_code ~64
Convert a currency between 3-char ISO code (e.g. USD) and its 160-bit/40-hex form. Non-standard 160-bit codes pass through. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| input | string | yes | a 3-char code or a 40-hex currency |
No output schema declared.
No examples provided.
decode_amount ~69
Decode an amount: native drops (digits), a serialized 8-byte native or 48-byte issued STAmount (hex), or an issued amount object {currency,issuer,value} → normalized value/currency/issuer. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| amount | — | yes | drops string, STAmount hex, or amount object |
| Name | Type | Req | Description |
|---|---|---|---|
| currency | — | — | — |
| drops | string | — | — |
| error | string | — | — |
| issuer | — | — | — |
| type | string | — | — |
| value | — | — | — |
| valueNote | string | — | — |
| xah | string | — | — |
No examples provided.
decode_b2m ~40
Heuristically classify a Burn2Mint-related transaction (XRPL↔Xahau bridge direction). Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| tx | object | yes | — |
No output schema declared.
No examples provided.
decode_hook_on ~62
Decode a HookOn 256-bit bitmap into the set of transaction types the hook fires on. Handles the inverted/active-low encoding and the active-high SetHook bit. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| hookOn | string | yes | HookOn hex (up to 64 chars) |
| Name | Type | Req | Description |
|---|---|---|---|
| count | number | — | — |
| error | string | — | — |
| firesOn | array | — | — |
| hookOn | string | — | — |
No examples provided.
decode_lease_uri ~114
Decode an Evernode lease URIToken URI (the `evrlease`/LTV format) → lease index, lease amount in EVR (XFL-decoded), half ToS hash, mint identifier, outbound IP. Accepts the on-chain URI hex, the base64 text, or raw buffer hex. Verified against the canonical evernode-js-client encoder + real mainnet leases. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| uri | string | yes | URIToken.URI hex, base64 text, or raw lease-buffer hex |
No output schema declared.
No examples provided.
decode_result ~61
Decode a transaction engine result code (e.g. 0/tesSUCCESS, 153/tecHOOK_REJECTED) ⇄ its name. Accepts a number or the result-code name. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| result | — | yes | a result code number or name |
No output schema declared.
No examples provided.
decode_sethook ~49
Decode a SetHook transaction (JSON or tx blob) into its hook definitions, each with HookOn decoded. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| tx | object | — | — |
| txBlobHex | string | — | — |
No output schema declared.
No examples provided.
decode_sign_request ~92
Decode a sign request (a Xaman/Xumm payload's txjson, or a raw tx_blob hex) into the transaction plus a plain-English 'what you would be authorizing' summary and safety warnings (SetHook, AccountDelete, key changes, no-expiry, already-signed). Offline — understand before you sign.
| Name | Type | Req | Description |
|---|---|---|---|
| txBlobHex | string | — | — |
| txjson | object | — | — |
| Name | Type | Req | Description |
|---|---|---|---|
| amountDecoded | — | — | — |
| error | string | — | — |
| summary | string | — | — |
| transactionType | — | — | — |
| tx | object | — | — |
| warnings | array | — | — |
No examples provided.
decode_tx_blob ~41
Decode a Xahau transaction blob (hex) into JSON via the Xahau-aware binary codec. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| txBlobHex | string | yes | — |
No output schema declared.
No examples provided.
decode_uritoken_id ~46
Validate a URIToken ID and explain its structure (SHA512-Half of issuer||URI; not reversible offline). Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| uriTokenId | string | yes | — |
No output schema declared.
No examples provided.
decode_xpop ~107
Decode an XPOP (Xahau Proof of Payment) — the proof blob inside an Import/Burn2Mint tx. Accepts the Import Blob hex (hex of the XPOP JSON) or the XPOP JSON itself. Returns the source ledger header, the decoded inner BURN transaction (type, burned drops = its Fee, target network), and the UNL validator set. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| xpop | — | yes | Import Blob hex, XPOP JSON string, or XPOP object |
| Name | Type | Req | Description |
|---|---|---|---|
| burnedDrops | — | — | — |
| error | string | — | — |
| innerTransaction | — | — | — |
| innerTransactionType | — | — | — |
| ledger | — | — | — |
| ledgerIndex | — | — | — |
| metaPresent | boolean | — | — |
| proofPresent | boolean | — | — |
| summary | string | — | — |
| targetNetworkId | — | — | — |
| validators | — | — | — |
| warnings | array | — | — |
No examples provided.
diagnose_failed_tx ~152
Why did my transaction fail? Plain-English diagnosis from ON-CHAIN facts: engine result decoded to cause + concrete fix (catalog of ~30 common Xahau failure codes), hook rollback return-strings decoded and interpreted (e.g. the genesis reward hook's 'You must wait N seconds' becomes a claimable-at date), the partial-payment trap on 'successful' Payments (delivered_amount vs Amount), and not-found triage (expired LastLedgerSequence / wrong network). 1 RPC read; authoritative — decodes what the chain recorded, re-executes nothing (use hook_execution_postmortem to replay hooks).
| Name | Type | Req | Description |
|---|---|---|---|
| network | string | — | — |
| txHash | string | yes | transaction hash |
| Name | Type | Req | Description |
|---|---|---|---|
| causes | array | — | — |
| engineResult | — | — | — |
| engineResultCode | — | — | — |
| error | string | — | — |
| failed | — | — | — |
| fixes | array | — | — |
| found | boolean | — | — |
| hookRejections | array | — | — |
| network | string | — | — |
| notes | array | — | — |
| partialDelivery | — | — | — |
| resultClass | — | — | — |
| summary | string | — | — |
| txHash | string | — | — |
| validated | — | — | — |
| whatItTried | — | — | — |
No examples provided.
encode_hook_on ~42
Build a canonical HookOn hex from a list of transaction types to fire on. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| txTypes | array | yes | e.g. ["Payment","Invoke"] |
| Name | Type | Req | Description |
|---|---|---|---|
| error | string | — | — |
| firesOn | array | — | — |
| hookOn | string | — | — |
No examples provided.
encode_tx_blob ~41
Encode a transaction JSON into an UNSIGNED Xahau binary blob (for inspection/round-trip; never signed). Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| tx | object | yes | — |
No output schema declared.
No examples provided.
estimate_hook_fee ~83
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.
| Name | Type | Req | Description |
|---|---|---|---|
| wasmBase64 | string | — | — |
| wasmHex | string | — | — |
No output schema declared.
No examples provided.
evernode_host_diagnostics ~129
One-call health check for an Evernode host (the official docs' troubleshooting checklist, automated): registration entry on the governor namespace, heartbeat liveness vs the on-chain active rule (current moment − heartbeatFreq×momentSize), instance load, reputation byte, EVR trustline + balance, registration URIToken held, lease offers, machine specs + accumulated EVR reward. Layout verified against canonical evernode-js-client + live mainnet. Read-only; ~9 serial RPC reads (slow but thorough).
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | host r-address |
| network | string | — | — |
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | — | — |
| balances | object | — | — |
| checks | array | — | — |
| error | string | — | — |
| heartbeat | — | — | — |
| isRegisteredHost | boolean | — | — |
| leases | object | — | — |
| network | string | — | — |
| notes | array | — | — |
| registration | — | — | — |
| specs | — | — | — |
| summary | string | — | — |
| warnings | array | — | — |
No examples provided.
execute_hook ~312
GROUNDBREAKING: actually RUN a Hook's real WebAssembly bytecode in a local VM against a simulated transaction + ledger state, and report the true accept/rollback decision, return code/string, state writes, emitted txns and execution trace. The first dev-accessible Hook simulator that needs no xahaud node. Implements a subset of the Hook API; unsupported calls are recorded (fidelity LOCAL_VM, never faked).
| Name | Type | Req | Description |
|---|---|---|---|
| feeBase | number | — | — |
| hookAccountId | string | — | 20-byte account-id hex the hook is installed on |
| hookParams | object | — | — |
| keyletBlobs | object | — | 32-byte ledger index hex -> serialized object hex, for slot_set |
| ledgerSeq | number | — | — |
| network | string | — | — |
| otxnBlob | string | — | full originating-txn serialized blob hex (enables otxn_slot) |
| otxnFields | object | — | field-id -> hex value of originating-txn fields the hook reads |
| otxnParams | object | — | otxn param name -> hex value |
| resolveKeylets | boolean | — | if true, fetch any slot_set'd ledger objects live and re-run (async pre-resolve) |
| state | object | — | initial hook state: 32-byte key hex -> value hex |
| txType | string | — | originating tx type, e.g. "Payment" |
| wasmBase64 | string | — | — |
| wasmHex | string | — | — |
| Name | Type | Req | Description |
|---|---|---|---|
| caveat | string | — | — |
| degraded | boolean | — | — |
| emitted | array | — | — |
| error | string | — | — |
| exit | string | — | — |
| fidelity | string | — | — |
| foreignStateWrites | array | — | — |
| resolvedForeignState | array | — | — |
| resolvedKeylets | array | — | — |
| returnCode | — | — | — |
| returnString | string | — | — |
| stateApplied | — | — | — |
| stateWrites | array | — | — |
| syntheticCalls | array | — | — |
| trace | array | — | — |
| unsupportedCalls | array | — | — |
| wantedForeignState | array | — | — |
| wantedKeylets | array | — | — |
No examples provided.
explain_account ~90
One-call plain-English account snapshot: balance, key-safety read (master/regular key), installed Hooks (+what they fire on), trustlines, URITokens (Evernode leases auto-decoded), and recent activity — plus warnings and notes. Read-only; exactly 5 serial RPC reads (>=1100ms apart).
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | r-address |
| network | string | — | — |
No output schema declared.
No examples provided.
fuzz_hook ~401
DIFFERENTIAL FUZZER: finds a Hook's accept/rollback decision boundary by running its REAL bytecode through the local VM against many DETERMINISTICALLY generated inputs (no randomness, no clock — fully reproducible). Sweeps axes you request: txType (a supplied list or all tx types), a raw otxn Amount-field byte range, otxn account/destination ids, and named otxn params. Reports counts {accept,rollback,halted,degraded}, per-axis boundary findings, and concrete accepting/rejecting sample inputs. Honest: degraded/halted runs are counted but excluded from the boundary; if every run degrades/halts it says INCONCLUSIVE and why. fidelity LOCAL_VM_FUZZ.
| Name | Type | Req | Description |
|---|---|---|---|
| amountField | number | — | otxn field id to write the Amount sweep into (default 6) |
| amountMax | number | — | Amount axis high (raw drops) |
| amountMin | number | — | Amount axis low (raw drops; field bytes are NOT STAmount-encoded) |
| feeBase | number | — | — |
| hookAccountId | string | — | — |
| hookParams | object | — | — |
| ledgerSeq | number | — | — |
| otxnFields | object | — | — |
| otxnParams | object | — | — |
| paramSweep | object | — | named otxn params -> candidate hex values to sweep |
| samples | number | — | number of generated inputs (default 64, max 512) |
| state | object | — | — |
| sweepAccount | boolean | — | also sweep a few deterministic account ids |
| sweepDestination | boolean | — | also sweep a few deterministic destination ids |
| txType | string | — | base originating tx type |
| txTypes | array | — | txType axis: tx types to sweep, e.g. ["Payment","Invoke"]. Default: all known tx types (capped). |
| wasmBase64 | string | — | — |
| wasmHex | string | — | — |
No output schema declared.
No examples provided.
get_account_hooks ~47
The Hooks installed on an account, with each HookOn bitmap decoded to the transaction types it fires on. Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | — |
| network | string | — | — |
No output schema declared.
No examples provided.
get_account_info ~40
Account root: balance, sequence, flags, regular key. Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | r-address |
| network | string | — | — |
No output schema declared.
No examples provided.
get_account_lines ~39
Trustlines (issued-currency balances) held by an account. Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | — |
| network | string | — | — |
No output schema declared.
No examples provided.
get_account_objects ~55
Ledger objects owned by an account, optionally filtered by type (hook, hook_state, uri_token, etc.). Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | — |
| network | string | — | — |
| type | string | — | — |
No output schema declared.
No examples provided.
get_account_offers ~36
Open DEX offers placed by an account. Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | — |
| network | string | — | — |
No output schema declared.
No examples provided.
get_account_uritokens ~54
URITokens (Xahau-native NFTs) owned by an account, with each token's URI decoded from hex to text. Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | — |
| network | string | — | — |
No output schema declared.
No examples provided.
get_fee ~43
Current network transaction fee (base fee in drops + load/queue state) — for building a tx with the right Fee. Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| network | string | — | — |
No output schema declared.
No examples provided.
get_hook_definition ~49
Fetch a HookDefinition ledger object by hash (CreateCode WASM, HookOn, fee, reference count). Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| hookHash | string | yes | — |
| network | string | — | — |
No output schema declared.
No examples provided.
get_hook_state ~55
Read Hook State entries for an account namespace (32-byte key→value map). Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | — |
| namespace | string | yes | 32-byte HookNamespace hex |
| network | string | — | — |
No output schema declared.
No examples provided.
get_ledger ~37
Header/summary of a ledger (default the latest validated). Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| ledgerIndex | — | — | — |
| network | string | — | — |
No output schema declared.
No examples provided.
get_transaction ~47
A validated transaction by hash, including Xahau HookExecutions metadata (hook return codes/strings). Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| network | string | — | — |
| txHash | string | yes | — |
No output schema declared.
No examples provided.
governance_state ~115
Genesis Governance Game — FULL live decode of the L1 table's hook state (layout canonical from xahaud hook/genesis/govern.c): all 20 seats and their members, member count, live reward rate/delay, every OPEN VOTE (who voted what, per topic) and every tally with its threshold (membership topics 80% of filled seats, everything else 100%) and whether it's reached. Plus the documented constants + a live genesis-account read. 2 RPC reads.
| Name | Type | Req | Description |
|---|---|---|---|
| network | string | — | — |
No output schema declared.
No examples provided.
hook_api_lookup ~51
Look up a Hook API function: category, exit/guard role, and security hazard metadata. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| name | string | yes | e.g. emit, state_set, _g, otxn_field |
No output schema declared.
No examples provided.
hook_diff ~119
Compare two Hook versions (before/after an upgrade): imports/exports added or removed, HookOn changes, size/instruction deltas, and any newly-gained security-sensitive capability (emit, foreign-state write, hook_again, signature verify). Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| afterHookOn | string | — | — |
| afterWasmBase64 | string | — | — |
| afterWasmHex | string | — | — |
| beforeHookOn | string | — | — |
| beforeWasmBase64 | string | — | — |
| beforeWasmHex | string | — | — |
| Name | Type | Req | Description |
|---|---|---|---|
| byteSizeAfter | number | — | — |
| byteSizeBefore | number | — | — |
| byteSizeDelta | number | — | — |
| error | string | — | — |
| exports | object | — | — |
| firesOn | — | — | — |
| guardDelta | number | — | — |
| imports | object | — | — |
| instructionDelta | number | — | — |
| loopDelta | number | — | — |
| newSensitiveCapabilities | array | — | — |
| summary | string | — | — |
No examples provided.
hook_dry_run ~93
Quick STATIC check: does this hook fire on a given transaction type (HookOn match) and what exit calls does its WASM contain? Labelled STATIC_ONLY. For REAL bytecode execution use execute_hook. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| candidateTxType | string | yes | e.g. "Payment" |
| hookOn | string | yes | — |
| wasmBase64 | string | — | — |
| wasmHex | string | — | — |
No output schema declared.
No examples provided.
hook_execution_postmortem ~242
POST-MORTEM a real Xahau transaction's hooks: fetch the tx (with meta.HookExecutions + engine result), then for EACH hook that fired, run its REAL bytecode through the local VM and compare the VM's accept/rollback DIRECTION to what the chain actually recorded. Answers 'why did these hooks accept/rollback, and would the VM agree?'. The on-chain decision is AUTHORITATIVE; the VM run is best-effort and always labeled fidelity=LOCAL_VM. `agree` is null (not false) when the VM run is degraded/halted/no-exit or the on-chain decision is indeterminate (e.g. no CreateCode available) — never scored as a match or miss. Read-only; never signs/submits. Serial rate-limited RPC: 1 `tx` call + 1 `ledger_entry` per UNIQUE HookHash (deduplicated), each >=1100ms apart; tolerates literal 'Rate limited' bodies via the shared client.
| Name | Type | Req | Description |
|---|---|---|---|
| network | string | — | — |
| txHash | string | yes | Xahau tx hash of the transaction to post-mortem |
No output schema declared.
No examples provided.
hook_report ~108
One-call comprehensive report on a Hook: structure (imports/exports/size/instructions), a plain-English classification of what it does, the full security analysis (SARIF-lite findings + severity summary), HookOn decode, and a fee estimate. Combines inspect + classify + analyze + estimate. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| grants | array | — | — |
| hookOn | string | — | — |
| namespace | string | — | — |
| wasmBase64 | string | — | — |
| wasmHex | string | — | — |
| Name | Type | Req | Description |
|---|---|---|---|
| analysis | object | — | — |
| classification | object | — | — |
| error | string | — | — |
| feeEstimate | object | — | — |
| hookOnDecoded | — | — | — |
| structure | object | — | — |
| verdict | string | — | — |
No examples provided.
inspect_emitted_tx ~90
Decode what a hook's emit() actually built: pass the emitted[] blob hex(es) from an execute_hook result → each decoded to tx JSON + a plain-English 'what it tries to send' summary + danger score (scam rules). Closes the loop on emitter hooks. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| emitted | array | yes | emitted blob hex(es) from execute_hook's `emitted` array |
No output schema declared.
No examples provided.
inspect_hook_wasm ~73
Parse a Hook's CreateCode WASM (hex or base64): imports (Hook API functions), exports (hook/cbak), memory, custom sections, loop and guard(_g) counts. Offline, never executes the module.
| Name | Type | Req | Description |
|---|---|---|---|
| wasmBase64 | string | — | — |
| wasmHex | string | — | — |
No output schema declared.
No examples provided.
list_rules ~26
Enumerate the Hook analyzer rule registry (id, severity, title, category). Offline.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
prepare_transaction ~136
Autofill an unsigned transaction with live network values — Sequence (from the account), Fee (current base fee), LastLedgerSequence (now + offset), and NetworkID — so it's ready to sign OFFLINE. Read-only: fetches values, fills the tx, but NEVER signs or submits. Defaults to TESTNET — pass network:'mainnet' for a mainnet account (else you get a mainnet account's testnet Sequence/NetworkID or actNotFound).
| Name | Type | Req | Description |
|---|---|---|---|
| lastLedgerOffset | number | — | — |
| network | string | — | — |
| tx | object | yes | unsigned tx JSON; must include Account + TransactionType |
No output schema declared.
No examples provided.
quantum_grade ~85
Grade a Xahau account for quantum (HNDL) readiness: master-key-disabled, regular key, multi-sign and installed hooks → 0-100 score + tier + recommendations. Ports the xrpl-audit quantum model to Xahau, with a Hook/PQC dimension. Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | r-address |
| network | string | — | — |
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | — | — |
| error | string | — | — |
| hooks | — | — | — |
| masterDisabled | boolean | — | — |
| recommendations | array | — | — |
| regularKey | — | — | — |
| score | number | — | — |
| signerList | — | — | — |
| tier | string | — | — |
No examples provided.