Get attestations
Get all attestations of a specific address.

Example

1
const params = {
2
address: 'ULQA63NGEZACP4N7ZMBUBISH6ZTCUS2Q'
3
};
4
5
client.api.getAttestations(params, function(err, result) {
6
if (err) return console.error(err);
7
console.log(result);
8
});
Copied!

Returns

1
[
2
{
3
unit: 'ekUq+0FW1uf1Bm1Dos7epi6AdWy2+m8CTOzU5/04y84=',
4
attestor_address: 'I2ADHGP4HL6J37NQAD73J7E5SKFIXJOT',
5
profile: {
6
profile_hash: 'cyZ7L8pPE4Df7pqH4jKtpuaB2SLEy2HR/K2rBGLRzYM=',
7
user_id: 'd4wISqCAUd1yDv2FGyjQD/+Xe+l7GGGtuxzxlpKayfk='
8
}
9
},
10
{
11
unit: '0miOAkbyv40DGVyJToxWroyoiJ+xhOnDb1aTbF6YXR8=',
12
attestor_address: 'C4O37BFHR46UP6JJ4A5PA5RIZH5IFPZF',
13
profile: {
14
nonus: 1
15
}
16
},
17
{
18
unit: '7SEJqVRpog8Ezn5A3PSDX+h3iIYMfJaUsozoUlrsm+o=',
19
attestor_address: 'H5EZTQE7ABFH27AUDTQFMZIALANK6RBG',
20
profile: {
21
22
user_id: 'uyeABSHzEgArC14L504vKgza+BmpgXlemnkDpyFC0mA='
23
}
24
}
25
]
Copied!

Learn more

Last modified 7mo ago
Copy link