CredentialWallet.getRevocationStatus() method
Fetches Revocation status depended on type
Signature:
getRevocationStatus(credStatus: CredentialStatus, credentialStatusResolveOptions?: CredentialStatusResolveOptions): Promise<RevocationStatus>;
Parameters
Parameter | Type | Description |
---|---|---|
credStatus | CredentialStatus | credentialStatus field of the Verifiable Credential. Supported types for credentialStatus field: SparseMerkleTreeProof, Iden3ReverseSparseMerkleTreeProof |
credentialStatusResolveOptions | CredentialStatusResolveOptions | (Optional) options to resolve credential status |
Returns:
Promise<RevocationStatus>
Promise<RevocationStatus>