Logo
Core Blockchain's Public API Documentation

submitHashrate

POST {{ENVIRONMENT}}

Used for submitting mining hashrate.

Parameters

Hashrate, A hexadecimal string representation (32 bytes) of the hash rate.

ID, String - A random hexadecimal(32 bytes) ID identifying the client.

params: [
  "0x0000000000000000000000000000000000000000000000000000000000500000",
  "0x59daa26581d0acd1fce254fb7e85952f4c09d0915afd33d3886cd914bc7d283c"
]

Returns

Boolean - Returns true if submitting went through succesfully and false otherwise.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'ENVIRONMENT' -d '{"jsonrpc":"2.0","method":"xcb_submitHashrate","params":["0x0000000000000000000000000000000000000000000000000000000000500000","0x59daa26581d0acd1fce254fb7e85952f4c09d0915afd33d3886cd914bc7d283c"],"id":1}'

ENDPOINTS