Skip to main content

AbstractIdentifierProvider.matchPrefix() method

Subclasses can override this to signal that they can work with a given DID prefix

Signature:

matchPrefix?(prefix: string): boolean;

Parameters

ParameterTypeDescription
prefixstringa DID URL prefix, Example: 'did🔑z6Mk', or did:ethr, or did:ethr:arbitrum:testnet

Returns:

boolean