Type alias Bip39MnemonicCorrection

Bip39MnemonicCorrection: {
    corrections: {
        end: number;
        start: number;
    }[];
    description: string;
    phrase: string;
}

Type declaration

  • corrections: {
        end: number;
        start: number;
    }[]

    An array of ranges (in ascending order) indicating the start and end indexes of each correction within the corrected phrase. Corrections in which only deletions occurred (e.g. an excess space or letter was removed) are indicated by zero-length ranges (where start is equal to end).

  • description: string

    A user-friendly description of the type of correction performed. This should be displayed to the user to inform them about other kinds of corrective action that may be necessary.

  • phrase: string

    The corrected BIP39 mnemonic phrase.

Generated using TypeDoc