Skip to main content

CredentialWallet.getRevocationStatus() method

Fetches Revocation status depended on type

Signature:

getRevocationStatus(credStatus: CredentialStatus, credentialStatusResolveOptions?: CredentialStatusResolveOptions): Promise<RevocationStatus>;

Parameters

ParameterTypeDescription
credStatusCredentialStatuscredentialStatus field of the Verifiable Credential. Supported types for credentialStatus field: SparseMerkleTreeProof, Iden3ReverseSparseMerkleTreeProof
credentialStatusResolveOptionsCredentialStatusResolveOptions(Optional) options to resolve credential status

Returns:

Promise<RevocationStatus>

Promise<RevocationStatus>