Skip to content
docs

SourceMeta

Defined in: keyring.ts:57

One key source as stored in public metadata. Never contains the secret.

optional chain?: ChainKey

Defined in: keyring.ts:67

privateKey / tonMnemonic: the one chain it signs on.


createdAt: number

Defined in: keyring.ts:71

Unix milliseconds when it was created or imported.


fingerprint: string

Defined in: keyring.ts:65

Duplicate check: BIP-32 master fingerprint (+ passphrase) for a seed, chain + public-key hash for a key.


optional hasPassphrase?: boolean

Defined in: keyring.ts:69

mnemonic: a BIP-39 passphrase is part of the secret (the flag only, never the value).


id: string

Defined in: keyring.ts:59

Stable id, also the key of the source’s secret in SecretStorage.


label: string

Defined in: keyring.ts:63

Name shown to the user.


type: SourceType

Defined in: keyring.ts:61

What the source holds.