Used for submitting mining hashrate.
Hashrate
, a hexadecimal string representation (32 bytes) of the hash rateID
, String - A random hexadecimal(32 bytes) ID identifying the clientparams: [
"0x0000000000000000000000000000000000000000000000000000000000500000",
"0x59daa26581d0acd1fce254fb7e85952f4c09d0915afd33d3886cd914bc7d283c"
]
Boolean
- returns true
if submitting went through succesfully and false
otherwise.
// Request
curl -X POST --data '{"jsonrpc":"2.0", "method":"eth_submitHashrate", "params":["0x0000000000000000000000000000000000000000000000000000000000500000", "0x59daa26581d0acd1fce254fb7e85952f4c09d0915afd33d3886cd914bc7d283c"],"id":73}'
// Result
{
"id":73,
"jsonrpc":"2.0",
"result": true
}