Skip to content

Instantly share code, notes, and snippets.

@StealthSend
Last active March 22, 2019 08:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StealthSend/8fc665fe06173e23ef85f5b9475e6739 to your computer and use it in GitHub Desktop.
Save StealthSend/8fc665fe06173e23ef85f5b9475e6739 to your computer and use it in GitHub Desktop.
Example of the Stealth qPoS getqposinfo JSON Output
{
"version": 1,
"block_height": 9999999,
"block_hash": "d31e14c1ad68a8e2f0c1890faf60023244e493cef07542d07924cd0e3752a2ce",
"in_replay": false,
"counter_next": 34,
"current_block_was_produced": true,
"prev_block_was_produced": true,
"current_slot": 1,
"queue": [
{"id": 2, "start_time": 1582236000, "end_time": 1582236014},
{"id": 4, "start_time": 1582236015, "end_time": 1582236029},
{"id": 1, "start_time": 1582236030, "end_time": 1582236044},
...
],
"stakers": {
"1" : {
"alias": "StealthStaker",
"id": 1,
"version": 1,
"qualified": true,
"enabled": true,
"weight": 446,
"keys": {
"owner_key": "0e9fe09be994a1e82373545fd8863551b765677535f395f2305d7a9f07607fb0bc",
"delegate_key": "20f8a8644e777fadf7150bc2e253ec8b89158b585feca7118bb4158779b10bd471",
"controller_key": "6dc2f4175b28278190d6d978ca0b41952e81e1c1f661a38ed8899cc757defffa7d"
},
"delegate_payout_pcm": 10000,
"total_earned": 9792.6,
"blocks_produced": 200000,
"blocks_missed": 1000,
"blocks_assigned": 201000,
"blocks_seen" : 207000,
"previous_blocks_missed": 985
},
"2" : {
"alias": "Stealth4Ever",
"id": 2,
...
},
...
},
"balances" : {
"20f8a8644e777fadf7150bc2e253ec8b89158b585feca7118bb4158779b10bd471" : {
"balance": 3.712575,
"last_claim": 1582194144,
"active_count": 1
},
"369ffe783003e6c0635ec82b9b649943d8da955152da2f310b5f5cb9f2419593a0" : {
"balance" : 2.128543,
"last_claim": 1582214523,
"active_count": 1
},
...
}
}
@StealthSend
Copy link
Author

StealthSend commented Feb 22, 2019

Elipses are not valid JSON. They indicate a continuation of an object already defined by a previous instance herein, or the repetition of the same kind of previously defined data structure. All values are purely for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment