Get attestation

Get attestation unit id from a specific attested value.

Example

const params = {
  attestor_address: 'H5EZTQE7ABFH27AUDTQFMZIALANK6RBG',
  field: 'email',
  value: 'fabien@bonustrack.co'
};

client.api.getAttestation(params, function(err, result) {
  console.log(result);
});

Returns

7SEJqVRpog8Ezn5A3PSDX+h3iIYMfJaUsozoUlrsm+o=

Learn more

Last updated