Get attestation

특정 증명값에 대한 증명 유닛 아이디 가져오기

아래와 같은 경우는 이메일 인증을 위해 사용될 수 있는데 해당 이메일 인증 유닛이 존재하는지 쿼리하여 증명 또는 인증이 되었는지 여부에 사용할 수 있다.

Example

const params = {
  attestor_address: 'H5EZTQE7ABFH27AUDTQFMZIALANK6RBG',
  field: 'email',
  value: '[email protected]'
};

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

Returns

7SEJqVRpog8Ezn5A3PSDX+h3iIYMfJaUsozoUlrsm+o=

Last updated

Was this helpful?