eth_getWork

Returns the hash of the current block, the seedHash, and the boundary condition to be met (target).

Request

curl https://eth-mainnet.solarpath.io/v1/YOUR-API-KEY \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc": "2.0", "id": 1, "method": "eth_getWork", "params": []}'

Response

{
  "id": 1,
  "jsonrpc": "2.0",
  "result": []
}

Note: While SolarPath will allow this method, eth_getWork always returns an empty array.

Last updated