Skip to main content

IIdentityWallet.findOwnedCredentialsByDID() method

find all credentials that belong to any profile or genesis identity for the given did

Signature:

findOwnedCredentialsByDID(did: DID, query: ProofQuery): Promise<W3CCredential[]>;

Parameters

ParameterTypeDescription
didDIDprofile that has been derived or genesis identity
queryProofQuery

Returns:

Promise<W3CCredential[]>

{Promise<W3CCredential[]>}