Skip to content
docs

ExposureReport

Defined in: scan.ts:49

The state of one account.

address: string

Defined in: scan.ts:8

ScanAccount.address


chain: string

Defined in: scan.ts:7

CAIP-2 chain id.

ScanAccount.chain


codes: ExposureCode[]

Defined in: scan.ts:62

Why, as codes: the address type first, then imported-key when it applies, then what the status rests on — one code per recorded exposure (oldest first) when exposed; no-probe or probe-failed when unknown for a sealable address. An address type this table does not know is unknown by its first code alone (unknown-address-type, unknown-chain).


optional firstExposedAt?: number

Defined in: scan.ts:69

exposed: when this ledger first learned of it, Unix milliseconds. For on-chain that is when a scan found the transaction, not when it was sent. Absent when the key is not known to be exposed.


reasons: string[]

Defined in: scan.ts:64

Sentences an app can show: reasons[i] is the default English text of codes[i].


seedRooted: boolean

Defined in: scan.ts:13

Was the key derived from a mnemonic? An imported private key has no seed behind it, so a seed-ownership proof can never rescue it (RFC 0001, section 9).

ScanAccount.seedRooted


status: "unsealable" | "unknown" | "sealed" | "exposed"

Defined in: scan.ts:55

sealed: the public key has not been shown, as far as the chain and this device know. exposed: it has. unsealable: it cannot be hidden on this chain. unknown: no answer; treat as exposed.