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

1
const params = {
2
address: 'IX77DDUQ56TVQVC3E77KIC5QLPQHD4PV',
3
profile: {
4
5
user_id: 'mT+Qwu2e2OH+QJ5mwCijrkQ6Bz2IW/Ad9IIHHHffbwo='
6
}
7
};
8
9
client.post.attestation(params, wif, function(err, result) {
10
if (err) return console.error(err);
11
console.log(result);
12
// -> J12wi3v0tSco6JJKagqJ265/jEt8Evl4Rk03YIErlpQ=
13
});
Copied!

Learn more

Last modified 7mo ago