CredentialWallet.getRevocationStatusFromCredential() method
Fetches or Builds a revocation status for a given credential Supported types for credentialStatus field: SparseMerkleTreeProof, Iden3ReverseSparseMerkleTreeProof
Signature:
getRevocationStatusFromCredential(cred: W3CCredential): Promise<RevocationStatus>;
Parameters
Parameter | Type | Description |
---|---|---|
cred | W3CCredential | credential for which lib should build revocation status |
Returns:
Promise<RevocationStatus>
Promise<RevocationStatus>