Skip to main content

IRevocationList

Asset Tokenization Studio Team

IRevocationList

Minimal interface for querying whether a verifiable credential issued to a subject has been revoked by its issuer.

Methods​

revoked​

function revoked(address _subject, string _vcId) external view returns (bool)

Checks if the VC granted by an issuer to a subject has been revoked.

Parameters​

NameTypeDescription
_subjectaddressThe address of the subject whose credential is being queried.
_vcIdstringThe identifier of the verifiable credential to check.

Returns​

NameTypeDescription
_0boolTrue if the credential has been revoked, false otherwise.