• Retrieves from the blockchain the IPublicCredential that is identified by the provided identifier.

    This is the only secure way for users to retrieve and verify a credential.

    Returns

    The IPublicCredential as the result of combining the on-chain information and the information present in the tx history.

    Parameters

    • credentialId: `0x${string}`

      Credential ID to use for the query.

    Returns Promise<IPublicCredential>