serviceFromChain
serviceFromChain(
encoded):DidServiceEndpoint
Convert the DID service data coming from the blockchain to JS object.
Parameters
Section titled “Parameters”• encoded: Option<PalletDidServiceEndpointsDidEndpoint>
The blockchain-formatted DID service data.
Returns
Section titled “Returns”The DID service.