EthrDIDProvider.matchPrefix() method
Tries to determine if this DID provider can manage DIDs with the given prefix.
If this provider was configured for a particular network and that network name or hexChainId is used in the prefix it will return true.
Signature:
matchPrefix(prefix: string): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
prefix | string | The DID prefix to match against |
Returns:
boolean