Skip to content

normalizeMnemonic

normalizeMnemonic(mnemonic): string[]

Defined in: astrobase/src/bip39/bip39.ts:24

Validates, trims words, and normalizes unicode into NFKD.

The 12, 15, 18, 21 or 24 word mnemonic as an array or sentence string.

string | string[]

string[]

The normalized mnemonic as an array of words.

If mnemonic length is invalid length.