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