Manually Verifying Blockchain Records

Verifying Blockchain Records

An important aspect of recording data on the Blockchain is that it allows you to independently verify the data without needing to trust any particular organization.

In this guide, we'll walk through how to verify a Blockchain credential without using the Accredible interface.

Our Blockchain Process

The first step in independently verifying a Blockchain credential is to understand how we create the record and what the data represents.

  1. We make a JSON representation of the credential including the fields "credential name", "issuer name", "issuer URL", "recipient name", "recipient identity" etc. This representation is similar to the JSON schema here: https://github.com/blockchain-certificates/cert-schema.  
  2. Given this JSON representation of the credential, we generate a SHA256 of it. We store the JSON in our own records and we record the SHA256 record on Blockchain. 

Independent Verification

To independently verify a Blockchain credential record's data:

  1. Use this API endpoint to get the current JSON representation of the credential and to get the Blockchain record ID: https://accrediblecredentialapi.docs.apiary.io/#reference/credentials/blockchain-credential/verify-blockchain-credential
    1. Here's a specific example request URL: https://api.accredible.com/v1/credentials/blockchain_data/9c21begh
      Note: The Encode ID used in the endpoint can be generated with the [credential.encoded_id] attribute for certificate & badge designs.
      If you cannot find the Encoded ID to verify the blockchain record, you can contact Accredible Support to obtain the Encoded ID.
  2. After getting a 200 response, you can compare the blockchain record (ie: name, issuer, dates, achievements, etc) with the digital credential.
    1. If the information is the same, the blockchain record and digital credential are current and up-to-date.
    2. If there are any discrepancies, the digital credential may have been updated recently and will need for the blockchain record to be updated.
  3. You can also verify that the blockchain record belongs to the digital credential by comparing the Blockchain ID (located on the Credential View) with the "anchor_id" ["type": "btc"].

 



    Has this article helped you? Let us know!

    If you would like to tell us about any improvements you feel could be made to this page, you can email us at support@accredible.com.