メインコンテンツまでスキップ

Interface: WalletFactor

One registered MPC key factor of the account (Web3Auth caps an account at 10). kind comes from the tssShareIndex recorded at creation (DEVICE=2, RECOVERY=3); a factor with no share description reads as 'unknown'. Public keys only — factor key material never crosses this surface.

Properties​

addedAt​

addedAt: number | null

Epoch milliseconds recorded at creation; null when no description exists.


factorPubHex​

factorPubHex: string

Compressed-SEC1 hex of the factor's public key.


isCurrentDevice​

isCurrentDevice: boolean

True when this is THIS device's sealed device factor.


kind​

kind: "device" | "unknown" | "recovery" | "api"

'api' is an API factor (docs/37): a DEVICE-share factor whose key the account owner exported once for out-of-band signing. Classified by the role the description records, ahead of the share index.


label​

label: string | null

The owner-chosen label of an API factor; null for every other kind.