Getmininginfo

From MintCoin
Jump to: navigation, search

{{#seo: |title= What is JSON-RPC – MintCoin Wiki |keywords=python json rpc,json rpc problem,what is json rpc,json rpc java,how to use json rpc,json rpc example python,node js json rpc,java json rpc example |description=JSON-RPC is a remote procedure call Protocol that uses JSON to encode messages. }}

getmininginfo[edit]

Note: The getmininginfo RPC returns various mining-related information.

MintCoin Version: MintCoin v2.0.0

BitCoin core:


Parameters:

none

Result:

various mining-related information

Command:

 ./mintcoind getmininginfo

result[edit]

{

   "blocks" : 4837503,
   "currentblocksize" : 10455,
   "currentblocktx" : 2,
   "difficulty" : 1.24683701,
   "netstakeweight" : 167363333.62449440,
   "errors" : "",
   "generate" : false,
   "genproclimit" : -1,
   "hashespersec" : 0,
   "networkhashps" : 9068535,
   "pooledtx" : 3,
   "testnet" : false

}

References[edit]

Documentation for MintCoin Core users and developers