Skip to content

serviceToChain

serviceToChain(service): ChainEndpoint

Format the DID service to be used as a parameter for the blockchain API functions.

Parameters

service: DidServiceEndpoint

The DID service to format.

Returns

ChainEndpoint

The blockchain-formatted DID service.

Source

did/src/Did.chain.ts:239