serviceToChain
serviceToChain(
service):ChainEndpoint
Format the DID service to be used as a parameter for the blockchain API functions.
Parameters
Section titled “Parameters”• service: DidServiceEndpoint
The DID service to format.
Returns
Section titled “Returns”ChainEndpoint
The blockchain-formatted DID service.