Interface: OcPopupAccount
Defined in: popup.ts:40 (opens in a new tab)
PropertiesLink to this section
| Property | Type | Description | Defined in |
|---|---|---|---|
address? | string | Legacy fields kept for back-compat with pre-refactor consumers. Prefer did_oc + primary_btc. Removed in a future major. | popup.ts:55 (opens in a new tab) |
btc_address? | string | popup.ts:56 (opens in a new tab) | |
did_oc? | string | Opaque public identity · did:oc:<32-hex>. Stable across linking events. The canonical identifier post auth-refactor (Dec 2025 +). | popup.ts:45 (opens in a new tab) |
display_name? | string | null | popup.ts:57 (opens in a new tab) | |
email? | string | popup.ts:60 (opens in a new tab) | |
has_email? | boolean | Whether the user has a primary email linked (plaintext stays on auth host; only the boolean reaches integrators). | popup.ts:52 (opens in a new tab) |
id? | string | popup.ts:41 (opens in a new tab) | |
nostr_npub? | string | null | popup.ts:58 (opens in a new tab) | |
primary_btc? | string | null | Primary linked Bitcoin address, if the user has one and is surfacing it (same-origin family integrators get it inline; cross-domain integrators need the bitcoin_address scope). | popup.ts:49 (opens in a new tab) |
wallet_provisioned? | boolean | popup.ts:59 (opens in a new tab) |