Function publicKeyFromChain

  • Convert a DID public key from the blockchain format to a JS object.

    Parameters

    • keyId: Hash

      The key ID.

    • keyDetails: DidDidDetailsDidPublicKeyDetails

      The associated public key blockchain-formatted details.

    Returns ChainDidKey

    The JS-formatted DID key.