Skip to content
docs

scanExposure

scanExposure(accounts, options): Promise<ExposureReport[]>

Defined in: scan.ts:81

The exposure of every account: what the address type allows, what this device signed (the ledger), and what the chain shows (the probes). A key the chain shows as used is recorded in the ledger, so the answer survives an RPC outage. An exposed key’s report lists every way the ledger knows it was exposed, the same on every later scan.

Probes query an RPC for every address, which links the addresses at that provider. Use the user’s own RPC where privacy matters.

readonly ScanAccount[]

ExposureLedger

() => number

Record<string, ExposureProbe>

Promise<ExposureReport[]>