documentFromChain
documentFromChain(
encoded
):ChainDocument
Convert the DID Document data from the blockchain format to a JS object.
Parameters
• encoded: Option
<PalletDidDidDetails
>
The chain-formatted DID Document.
Returns
ChainDocument
The DID Document.