返回到文章

采纳

编辑于

eth_hashrate

ethereumj
命令

eth_hashrate,返回节点正在挖掘的每秒散列数。

参数:

  • none

返回:

  • QUANTITY - 每秒的哈希数。

例子:

// Request
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_hashrate","params":[],"id":71}'

// Result
{
  "id":71,
  "jsonrpc": "2.0",
  "result": "0x38a"
}