Get attestations

Get all attestations of a specific address.

Example

const params = {
  address: 'ULQA63NGEZACP4N7ZMBUBISH6ZTCUS2Q'
};

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

Returns

[
  {
    unit: 'ekUq+0FW1uf1Bm1Dos7epi6AdWy2+m8CTOzU5/04y84=',
    attestor_address: 'I2ADHGP4HL6J37NQAD73J7E5SKFIXJOT',
    profile: {
      profile_hash: 'cyZ7L8pPE4Df7pqH4jKtpuaB2SLEy2HR/K2rBGLRzYM=',
      user_id: 'd4wISqCAUd1yDv2FGyjQD/+Xe+l7GGGtuxzxlpKayfk='
    }
  },
  {
    unit: '0miOAkbyv40DGVyJToxWroyoiJ+xhOnDb1aTbF6YXR8=',
    attestor_address: 'C4O37BFHR46UP6JJ4A5PA5RIZH5IFPZF',
    profile: {
      nonus: 1
    }
  },
  {
    unit: '7SEJqVRpog8Ezn5A3PSDX+h3iIYMfJaUsozoUlrsm+o=',
    attestor_address: 'H5EZTQE7ABFH27AUDTQFMZIALANK6RBG',
    profile: {
      email: 'fabien@bonustrack.co',
      user_id: 'uyeABSHzEgArC14L504vKgza+BmpgXlemnkDpyFC0mA='
    }
  }
]

Learn more

Last updated