Skip to main content

ICredentialWallet.findByContextType() method

Finds credentials by JSON-LD schema and type

Signature:

findByContextType(context: string, type: string): Promise<W3CCredential[]>;

Parameters

ParameterTypeDescription
contextstringthe URL of JSON-LD schema where type is defined
typestring

Returns:

Promise<W3CCredential[]>

Promise<W3CCredential[]>