eth_hashrate

返回节点挖矿时的速率,即每秒哈希数。

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_hashrate", "params": []}'

Response

{
  "id": 1,
  "jsonrpc": "2.0",
  "result": "0x0"
}

SolarPath 始终返回0x0

最后更新于