• 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.

    Returns

    An object containing the attester DID and revoked status of the on-chain attestation.

    Parameters

    • credential: ICredential

      The ICredential whose attestation status should be checked.

    Returns Promise<{
        attester: DidUri;
        revoked: boolean;
    }>