resolveKey
resolveKey(
keyUri,expectedVerificationMethod?):Promise<ResolvedDidKey>
Resolve a DID key URI to the key details.
Parameters
• keyUri: did:cord:3${string}#${string}
The DID key URI.
• expectedVerificationMethod?: any
Optional key relationship the key has to belong to.
Returns
Promise<ResolvedDidKey>
The details associated with the key.