Skip to content

Interface: OcPopupAccount

Defined in: popup.ts:40 (opens in a new tab)

PropertiesLink to this section

PropertyTypeDescriptionDefined in
address?stringLegacy 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?stringpopup.ts:56 (opens in a new tab)
did_oc?stringOpaque 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 | nullpopup.ts:57 (opens in a new tab)
email?stringpopup.ts:60 (opens in a new tab)
has_email?booleanWhether 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?stringpopup.ts:41 (opens in a new tab)
nostr_npub?string | nullpopup.ts:58 (opens in a new tab)
primary_btc?string | nullPrimary 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?booleanpopup.ts:59 (opens in a new tab)