Qredit API (for dat...
 

Qredit API (for data that isn't available in the normal API)  

  RSS

st3v3n
(@st3v3n)
New Member
XQR:0
Joined: 2 months ago
Posts: 4
22/06/2019 9:56 am  

For Qredit I'm currently developing a new tool, which is an API that will contain data that is very hard/not possible to retrieve via the normal node API. The first endpoints for this API are:

{
"snapshots_available_till_round": 64117
}
{
    "0": 0,
    "1": 44406824,
    "2": 44407296,
    "3": 44407704,
    "4": 44408120,
    "5": 44408536,
    "6": 44408952,
    "7": 44409368,
    "8": 44409784,
    "9": 44410200,
    "10": 44410616,
... }
{
    "round_start_time": 45485536,
    "delegates": {
        "0272125ec3e45a67870765815c12bced93409ab9ba4322657ebe7ebc7b3268acee": {
            "username": "genesis_1",
            "address": "QUQytBDDm3xua5XDNMjUb97Sv6QMDypJxz",
            "registered": 0,
            "voters": [],
            "vote_weight": 0,
            "blocks_forged_this_round": 1,
            "blocks_missed_this_round": 0,
            "blocks_forged_total": 2610,
            "blocks_missed_total": 4
        },
... }, "wallets_snapshot": {
"QWEsWVS9CRNyvrhB61uz3U9LoomE7Cu652": -70000000000000000, "QPhFPEEXwZAT7WZSmFttDo3oCjeQufuke3": 60997800040000000, "QUQytBDDm3xua5XDNMjUb97Sv6QMDypJxz": 217130000000, "QUXQLkWuezDJsuFLihwYxVsYULwAR88cVW": 0, "QatbcCu1XkNVenAkEHUr9U7HC4HZcJoWTG": 56120000000, "QifPDncPj7em6xwwvWku2LKhbSg3zbG9j7": 144800000000, "QTPaSDYrb1yMeU1q7aVTDpA1qcLUveyfVb": 100000000, "QUJuAiFr1eVbCp6b6LzMCXzmj8JPGUUShC": 151930000000, "Qjf3b82AJGgGfEVcSqUmzNf1nMqGfd1iqa": 219010000000, "QLpJtvbQHKtwcSvUdEC7HLqX52Mj1qhWff": 189210000000, "QN12uXWEue7MaiJaDd69q8KhNjbzAnsYso": 210620000000, "QeHpG6uN17sfVgDVzJzLXo6Db5AB6Qfaua": 76000000000,
...
},
"transactions_this_round": { "0": 1, "2": 1 },
"transactions_total": { "0": 70, "2": 91, "3": 61 },
"wallets_distribution": { "0-1": 10, ">1-10": 8, ">10-100": 4, ">100-1k": 32, ">1k-10k": 50, ">10k-100k": 0, ">100k-1MM": 0, ">1MM-10MM": 0, ">10M": 2 }
}
{
    "QWEsWVS9CRNyvrhB61uz3U9LoomE7Cu652": -70000000000000000,
    "QPhFPEEXwZAT7WZSmFttDo3oCjeQufuke3": 60997800040000000,
    "QUQytBDDm3xua5XDNMjUb97Sv6QMDypJxz": 217130000000,
    "QUXQLkWuezDJsuFLihwYxVsYULwAR88cVW": 0,
    "QatbcCu1XkNVenAkEHUr9U7HC4HZcJoWTG": 56120000000,
    "QifPDncPj7em6xwwvWku2LKhbSg3zbG9j7": 144800000000,
    "QTPaSDYrb1yMeU1q7aVTDpA1qcLUveyfVb": 100000000,
    "QUJuAiFr1eVbCp6b6LzMCXzmj8JPGUUShC": 151930000000,
    "Qjf3b82AJGgGfEVcSqUmzNf1nMqGfd1iqa": 219010000000,
    "QLpJtvbQHKtwcSvUdEC7HLqX52Mj1qhWff": 189210000000,
    "QN12uXWEue7MaiJaDd69q8KhNjbzAnsYso": 210620000000,
    "QeHpG6uN17sfVgDVzJzLXo6Db5AB6Qfaua": 76000000000,
    "QTshwTHrBC99pJtp4c8h1eiCE6iWWR9JYG": 65110000000,
...
}
{
"033faf1263887fad08e1305259863f4c9ee6e4d676f273a8b7d6e53f3dd0618499": { "username": "st3v3n", "address": "Qhe2h89DdU8V45RKqJQ7pY7pQgVV13Kecp", "registered": 60369482, "voters": [ "Qj8b1tyDFM3k2ZERevnGMWJWRML2i6QQEt", "QcK91u4ngQp4HnqpmRWRRJYNfBSXTEL4D2", "QRXQCakRNe4J81XSTZhZbyFi5sSoMhQV8U", "QWh82FwagF1PcMqCjjYbanB6mGXd9D6FvU" ], "vote_weight": 77064228763552, "blocks_forged_this_round": 0, "blocks_missed_this_round": 0, "blocks_forged_total": 24649, "blocks_missed_total": 393 },
...
}
[
    {
        "round": 1,
        "timestamp": 44406824,
        "min_vote_weight": 0
    },
    {
        "round": 46,
        "timestamp": 44425768,
        "min_vote_weight": 0
    },
    {
        "round": 91,
        "timestamp": 44444808,
        "min_vote_weight": 0
    },
    {
        "round": 136,
        "timestamp": 44464000,
        "min_vote_weight": 0
    },
...
]
{
    "03b64508f6f63b42e4cedbcf57195e7199f707c37b63be25f5dbb27e3d4664b5f0": {
        "min": 0,
        "max": 0
    },
    "0353dae7fdbf90231bc5047604453218d283f4f0e8f541298f79d1559c17508eb2": {
        "min": 44406824,
        "max": 45185552
    },
    "029197dbe6ba1e9f2d47ce147371d1c2a011c9734446406f1dcf0bfc81cd88cbce": {
        "min": 44406832,
        "max": 45420992
    },
...
}

The API will improve in the time to come and a lot more data will be added.

This topic was modified 2 months ago 8 times by st3v3n

Quote
Topic Tags
st3v3n
(@st3v3n)
New Member
XQR:0
Joined: 2 months ago
Posts: 4
03/07/2019 2:22 pm  

Update 2019-7-3:

Added:

  • transactions_this_round
  • transactions_total
  • wallets_distribution
  • Fixed an issue with the forged/missed block being incorrect. The api is currently repopulating with the correct data.

ReplyQuote
alberdioni8406
(@alberdioni8406)
Estimable Member
XQR:27
Joined: 3 months ago
Posts: 195
03/07/2019 5:28 pm  

Nice work 😉

https://about.me/albertosilvestre


ReplyQuote
Share:

  
Working

Please Login or Register