Attestation
Attestations confirm that the user who issued the attestation (the attestor) verified some data about the attested user (the subject).
Arguments
address
stringrequired Address of the attested user (the subject).profile
objectrequired Verified data about the attested user.
Returns
Returns the unit hash.
Example
const params = {
address: 'IX77DDUQ56TVQVC3E77KIC5QLPQHD4PV',
profile: {
email: '[email protected]',
user_id: 'mT+Qwu2e2OH+QJ5mwCijrkQ6Bz2IW/Ad9IIHHHffbwo='
}
};
client.post.attestation(params, wif, function(err, result) {
console.log(result);
// -> J12wi3v0tSco6JJKagqJ265/jEt8Evl4Rk03YIErlpQ=
});Learn more
"23. Attestations" (page 32) https://byteball.org/Byteball.pdf
Last updated