For the complete documentation index, see llms.txt. This page is also available as Markdown.

Attestation

Attestations confirm that the user who issued the attestation (the attestor) verified some data about the attested user (the subject).

Arguments

  • address string required Address of the attested user (the subject).

  • profile object required Verified data about the attested user.

Returns

Returns the unit hash.

Example

const params = {
  address: 'IX77DDUQ56TVQVC3E77KIC5QLPQHD4PV',
  profile: {
    email: 'robertjsmc@gmail.com',
    user_id: 'mT+Qwu2e2OH+QJ5mwCijrkQ6Bz2IW/Ad9IIHHHffbwo='
  }
};

client.post.attestation(params, wif, function(err, result) {
  if (err) return console.error(err);
  console.log(result);
  // -> J12wi3v0tSco6JJKagqJ265/jEt8Evl4Rk03YIErlpQ=
});

Learn more

Last updated