Queries the attestation record for a credential and matches their data. Fails if no attestation exists, if it is revoked, or if the attestation data does not match the credential.
The ICredential whose attestation status should be checked.
An object containing the attester DID and revoked status of the on-chain attestation.
attester
revoked
Queries the attestation record for a credential and matches their data. Fails if no attestation exists, if it is revoked, or if the attestation data does not match the credential.