diff --git a/src/keyring.ts b/src/keyring.ts index c433ac142..ece365016 100644 --- a/src/keyring.ts +++ b/src/keyring.ts @@ -256,8 +256,10 @@ export type Keyring = { /** * Generates the properties for the keyring based on the given * BIP39-compliant mnemonic. + * + * @returns A promise resolving when the keyring has generated the properties. */ - generateRandomMnemonic?(): void; + generateRandomMnemonic?(): Promise; /** * Destroy the keyring.