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