Skip to Content

@cfxdevkit/core


@cfxdevkit/core / MnemonicValidation

Interface: MnemonicValidation

Defined in: packages/core/src/wallet/types.ts:70

Result of mnemonic validation

Properties

error?

optional error: string

Defined in: packages/core/src/wallet/types.ts:76

Error message if invalid


valid

valid: boolean

Defined in: packages/core/src/wallet/types.ts:72

Whether the mnemonic is valid


wordCount

wordCount: number

Defined in: packages/core/src/wallet/types.ts:74

Number of words in the mnemonic