Type alias DidResolve

DidResolve: ((did: DidUri) => Promise<DidResolutionResult | null>)

Type declaration

    • (did: DidUri): Promise<DidResolutionResult | null>
    • Resolves a DID URI, returning the full contents of the DID document.

      Returns

      A promise of a DidResolutionResult object representing the DID document or null if the DID cannot be resolved.

      Parameters

      • did: DidUri

        A DID URI identifying a DID document. All additional parameters and fragments are ignored.

      Returns Promise<DidResolutionResult | null>