hndl_exposure
Scan an account's transaction history to detect if its signing public key has been revealed on-ledger, classifying the key as irreversible, recoverable, or never exposed, and report balance at risk.
Instructions
Measure an account's Harvest-Now-Decrypt-Later exposure: has its signing PUBLIC KEY been revealed on-ledger, and which key? An r-address is a HASH of the pubkey; the pubkey is exposed only once the account signs a tx. Walks history OLDEST-first and classifies: master (IRREVERSIBLE — master key can't be rotated), regular / multisig (RECOVERABLE — rotate the key), or none (never signed = hash-only, not Shor-actionable). Reports balance-at-risk + honest truncation caveat. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | r-address | |
| network | No | mainnet | |
| maxPages | No | history pages to scan (default 6 × 400 tx) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| error | No | ||
| address | No | ||
| exposed | No | ||
| network | No | ||
| scanned | Yes | ||
| severity | No | ||
| accountId | No | ||
| conclusive | No | ||
| recoverable | No | ||
| balanceDrops | No | ||
| exposureClass | No | ||
| masterExposed | No | ||
| signedTxCount | No | ||
| masterDisabled | No | ||
| regularExposed | No | ||
| multisigExposed | No | ||
| balanceAtRiskDrops | No | ||
| firstExposureLedger | No |