eth_getWork

返回当前区块的哈希、种子哈希和要满足的边界条件(“目标”)。

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": []
}

eth_getWork 始终返回一个空的数组。

最后更新于