CredentialFilter defines the criteria for filtering credentials.

Properties

issuers?

optional issuers: string[]

List of issuers to filter by.

Example

["did:polygon-amoy:0x1B887669437644aA348c518844660ef8d63bd643"]

Defined in

verifiableCredentialsSDK/types/credentialFilter.ts:9


types?

optional types: string[]

List of accepted credential types.

Example

["driving_license", "crossmint:e62564a7-06eb-4f65-b389-eb3b7a4f6f98:userAge"]

Defined in

verifiableCredentialsSDK/types/credentialFilter.ts:15