Type alias IAccountsCreateRequest

IAccountsCreateRequest: {
    accountIndex?: number;
    accountName: string;
    paymentSecret?: string;
    prvKeyDataId: string;
    type: "bip32";
    walletSecret: string;
} | {
    accountName: string;
    ecdsa?: boolean;
    paymentSecret?: string;
    prvKeyDataId: string;
    type: "kaspa-keypair-standard";
    walletSecret: string;
}

Argument interface for the Wallet.accountsCreate method.

Type declaration

  • Optional accountIndex?: number
  • accountName: string
  • Optional paymentSecret?: string
  • prvKeyDataId: string
  • type: "bip32"
  • walletSecret: string

Type declaration

  • accountName: string
  • Optional ecdsa?: boolean
  • Optional paymentSecret?: string
  • prvKeyDataId: string
  • type: "kaspa-keypair-standard"
  • walletSecret: string

Generated using TypeDoc