Function multibaseKeyToDidKey

  • Decode a Multikey representation of a verification method into its fundamental components: the public key and the key type.

    Parameters

    • publicKeyMultibase: `z${string}`

      The verification method's public key in Multikey format (i.e., multicodec-prefixed, then multibase encoded).

    Returns DecodedVerificationMethod

    The decoded public key and DidVerificationMethodType.