Interface IWalletCreateRequest

Argument interface for the Wallet.walletCreate method.

If filename is not supplied, the filename will be derived from the wallet title. If both wallet title and filename are not supplied, the wallet will be create with the default filename kaspa.

interface IWalletCreateRequest {
    filename?: string;
    overwriteWalletStorage?: boolean;
    title?: string;
    userHint?: string;
    walletSecret: string;
}

Properties

filename?: string

Optional wallet filename

overwriteWalletStorage?: boolean

Overwrite wallet data if the wallet with the same filename already exists. (Use with caution!)

title?: string

Optional wallet title

userHint?: string

Optional user hint

walletSecret: string

Wallet encryption secret

Generated using TypeDoc