Skip to main content

IDIDManager.didManagerAddService() method

Adds a service to a DID Document

Signature:

didManagerAddService(args: IDIDManagerAddServiceArgs, context: IAgentContext<IKeyManager>): Promise<any>;

Parameters

ParameterTypeDescription
argsIDIDManagerAddServiceArgs
contextIAgentContext<IKeyManager>

Returns:

Promise<any>

identifier provider specific response. Can be txHash, etc,