Comment on page
Attestation
Attestations confirm that the user who issued the attestation (the attestor) verified some data about the attested user (the subject).
- address
string
required Address of the attested user (the subject). - profile
object
required Verified data about the attested user.
Returns the unit hash.
const params = {
address: 'IX77DDUQ56TVQVC3E77KIC5QLPQHD4PV',
profile: {
email: '[email protected]',
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=
});
Last modified 2yr ago