File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -368,12 +368,16 @@ GET http://cyphernode:8888/getmininginfo
368368Proxy response:
369369``` json
370370{
371- "blocks" : 697264 ,
372- "difficulty" : 15556093717702.55 ,
373- "networkhashps" : 1.657879694896906e+20 ,
374- "pooledtx" : 136 ,
375- "chain" : " main" ,
376- "warnings" : " "
371+ "result" : {
372+ "blocks" : 2191222 ,
373+ "difficulty" : 1 ,
374+ "networkhashps" : 118625307084442.9 ,
375+ "pooledtx" : 0 ,
376+ "chain" : " test" ,
377+ "warnings" : " "
378+ },
379+ "error" : null ,
380+ "id" : null
377381}
378382```
379383### Get Bitcoin estimated hashrare per seconds. Optional block parameters. (called by your application)
@@ -385,15 +389,20 @@ POST http://cyphernode:8888/getnetworkhashps
385389with body...
386390{"height":-1, "nblocks":120}
387391```
392+ height: default(-1) since last difficulty adjustent.
393+
394+ nblocks: default(120) number of block average.
395+
388396
389397Proxy response:
390398
391399``` json
392400{
393- "height" : -1 ,
394- "nblocks" : 120 ,
395- "hashps" : 127647856311107400000
396- }```
401+ "result" : 97145748652669.34 ,
402+ "error" : null ,
403+ "id" : null
404+ }
405+ ```
397406
398407### Get mempool information
399408
You can’t perform that action at this time.
0 commit comments