Obyte.js
GitHub
Discord
Search…
0.1.19
Obyte.js
Getting started
Quick start
Testnet
API
Get witnesses
Get peers
Get joint
Get last MCI
Get history
Get attestation
Get attestations
Get bots
Get asset metadata
Get definition
Get balances
Get profile units
Get data feed
Autonomous Agents
Core
Post
Address definition change
Attestation
Asset
Asset attestors
Data
Data feed
Definition
Definition template
Payment
Poll
Vote
Profile
Text
Multi
Client
Subscribe
Just saying
Requests
Utils
Sign a message
Validate signed message
Generate a random address
Get definition address
Is valid address
Keep connection alive
About
About
Links
Tutorials
Powered By
GitBook
Get attestation
Get attestation unit id from a specific attested value.
Example
1
const
params
=
{
2
attestor_address
:
'H5EZTQE7ABFH27AUDTQFMZIALANK6RBG'
,
3
field
:
'email'
,
4
value
:
'
[email protected]
'
5
};
6
7
client
.
api
.
getAttestation
(
params
,
function
(
err
,
result
)
{
8
if
(
err
)
return
console
.
error
(
err
);
9
console
.
log
(
result
);
10
});
Copied!
Returns
1
7SEJqVRpog8Ezn5A3PSDX+h3iIYMfJaUsozoUlrsm+o=
Copied!
Learn more
"23. Attestations" (page 32)
https://obyte.org/Byteball.pdf
API - Previous
Get history
Next - API
Get attestations
Last modified
1yr ago
Copy link
Contents
Example
Returns
Learn more