Skip to main content

DIDManager.didManagerAddService() method

Adds a service to a DID Document

Signature:

didManagerAddService({ did, service, options }: IDIDManagerAddServiceArgs, context: IAgentContext<IKeyManager>): Promise<any>;

Parameters

ParameterTypeDescription
{ did, service, options }IDIDManagerAddServiceArgs
contextIAgentContext<IKeyManager>

Returns:

Promise<any>

identifier provider specific response. Can be txHash, etc,