Skip to content

fetchFromMnemonic

fetchFromMnemonic(mnemonic): Promise<DidDocument>

This function fetches the DID document linked to a mnemonic.

Parameters

mnemonic: string

The secret phrase used to fetch the DID.

Returns

Promise<DidDocument>

A Full DidDocument.

Source

did/src/Did.chain.ts:492