Is it possible to extract specific info from a bitcoin rpc call
Example and im going to use an altcoin as its easier but I guess the same applies to
BTCI use the command "Swingd getmininginfo" and the out put is this:
"Blocks" : 405319,
"Current Block Size" : 1000,
"Current Block Tx" : 0,
"Difficulty" : {
"Proof of Work" : 2614987.07498234,
"Proof of Stake" : 0.03581758,
"Search Interval" : 1
},
"Block Value" : 159500000,
"Net MH/s" : 72930415.36696009,
"Net Stake Weight" : 922198.70837217,
"Errors" : "",
"Pooled Tx" : 0,
"Stake Weight" : {
"Minimum" : 61,
"Maximum" : 0,
"Combined" : 61
},
"Stake Interest" : 9000000,
"Testnet" : false
Is it possible to adjust the command "getmininginfo" to display for example Net MH/s or Net Stake Weight instead of all the output ?
I am building a webpage that I want to show weight and net hash but not the rest of the out put
Thanks