DIDManager.didManagerAddService() method
Adds a service to a DID Document
Signature:
didManagerAddService({ did, service, options }: IDIDManagerAddServiceArgs, context: IAgentContext<IKeyManager>): Promise<any>;
Parameters
Parameter | Type | Description |
---|---|---|
{ did, service, options } | IDIDManagerAddServiceArgs | |
context | IAgentContext<IKeyManager> |
Returns:
Promise<any>
identifier provider specific response. Can be txHash, etc,