-
Notifications
You must be signed in to change notification settings - Fork 4
Provenance Network API documentation
SAI PRASANTH VUPPALA edited this page Apr 18, 2023
·
2 revisions
GET: https://api.moinet.io/moi-id/moinode/list?userID=<user_id>
Response:
[
{
"userMoiID": "<userID>",
"kramaID": "<kramaID>",
"timeStamp": "1681821873"
"operatorCountry": "AUS"
}
]
Sort the response of above API in ascending order, then array[0].timeStamp
gives the date/time of the first validator node hosted.
GET: https://pnapi.moinet.io/moi/readtokensummary?kramaId=<kramaID>
Response:
{
"meta": {
"code": 200,
"requestId": "ddce4fb6-5a50-4e27-a4c4-1b1647c46c90",
"message": "sucess"
},
"data": {
"total_token_summary": 8450,
"incentive_freq": 86400
}
}