interface · Browser
Unlocked
An account whose key is in memory: what a tab needs to act for it.
@toip-tools/web-vaultView sourceimport { type Unlocked } from "@toip-tools/web-vault";
Declaration
interface Unlocked {
account: Account;
seed: Uint8Array;
/** Seals and opens this account's blobs. Null for an account that isn't protected yet. */
key: CryptoKey | null;
}
Properties
accountrequiredAccountseedrequiredUint8Array<ArrayBufferLike>keyrequiredCryptoKey | nullSeals and opens this account's blobs. Null for an account that isn't protected yet.