IIdentityWallet.revokeCredential() method
Signature:
revokeCredential(issuerDID: DID, credential: W3CCredential): Promise<number>;
Parameters
Parameter | Type | Description |
---|---|---|
issuerDID | DID | identifier of the issuer |
credential | W3CCredential | credential to revoke |
Returns:
Promise<number>
Promise<number>
a revocation nonce of credential