Interface IPrvKeyDataCreateRequest

Argument interface for the Wallet.prvKeyDataCreate method.

interface IPrvKeyDataCreateRequest {
    kind: "mnemonic" | "secretKey";
    mnemonic?: string;
    name?: string;
    paymentSecret?: string;
    secretKey?: string;
    walletSecret: string;
}

Properties

kind: "mnemonic" | "secretKey"

Kind of the private key data

mnemonic?: string

BIP39 mnemonic phrase (12 or 24 words) if kind is mnemonic

name?: string

Optional name of the private key

paymentSecret?: string

Optional key secret (BIP39 passphrase).

If supplied, all operations requiring access to the key will require the paymentSecret to be provided.

secretKey?: string

Secret key if kind is secretKey

walletSecret: string

Wallet encryption secret

Generated using TypeDoc