Skip to content

Latest commit

 

History

History
39 lines (35 loc) · 845 Bytes

dlt_miner_stats.md

File metadata and controls

39 lines (35 loc) · 845 Bytes
title type
Miner Stats
dlt

Miner Stats

Returns miner stats of the node.

Method: minerstats

Input parameters:

None

Errors:

Error Description
RPC_INTERNAL_ERROR An unknown error occurred in the node. Please check the node log for details.

Output:

  • success: miner stats JSON-encoded in the result field with the error field set to null
  • fail: JSON encoded details with a non-null error and a null result

Example:

GET http://localhost:8081/minerstats

{
	"result": {
		"Hashrate": 101,
		"Search Mode": "randomLowestDifficulty",
		"Current Block": 5,
		"Current Difficulty": 11730489520294945089,
		"Solved Blocks (Local)":0,
		"Solved Blocks (Network)":0,
		"Empty Blocks": 135,
		"Last Solved Block": 0,
		"Last Solved Block Time": "Never"
	},
	"error": null,
	"id": null
}