Function fromChain

  • Convert the DID data from blockchain format to the DID.

    Parameters

    • encoded: AccountId32

      The chain-formatted DID.

    Returns Did

    The DID.