Skip to main content

IdentityWallet.revokeCredential() method

Signature:

revokeCredential(issuerDID: DID, credential: W3CCredential): Promise<number>;

Parameters

ParameterTypeDescription
issuerDIDDIDidentifier of the issuer
credentialW3CCredentialcredential to revoke

Returns:

Promise<number>

Promise<number> a revocation nonce of credential