Skip to main content

DIDDiscovery.discoverDid() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Queries data providers and returns DIDs with metadata

Signature:

discoverDid(args: IDIDDiscoveryDiscoverDidArgs, context: IAgentContext<any>): Promise<IDIDDiscoveryDiscoverDidResult>;

Parameters

ParameterTypeDescription
argsIDIDDiscoveryDiscoverDidArgsThe param object with the properties necessary to discover DID
contextIAgentContext<any>*RESERVED* This is filled by the framework when the method is called.

Returns:

Promise<IDIDDiscoveryDiscoverDidResult>