eth_hashrate

Retrieves the number of hashes per second that the node is mining with

Request
Examples
curl https://rpc.xone.org \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_hashrate","params":[],"id":67}'
'
Response
200 OK
{
  "jsonrpc": "2.0",
  "id": 67,
  "result": "0x2540be400" 
}

Request params

NameTypeDescription
idintegerRequest identifier
jsonrpcstringJSON-RPC version
methodstringAPI method name
ParametersThis method does not accept any parameters. 

Response

200
The number of hashes per second that the node is currently mining at, returned as a hexadecimal string.
NameTypeDescription
Parametersobject 
idinteger
jsonrpcstring
resultstring