stake

xDai (STAKE)

Method: POST eth_hashrate

dropdown
POST

eth_hashrate

返回节点正在挖掘的每秒哈希数。

当启用层服务器时,此方法返回所有报告其哈希率的密封器的累积哈希率。

Parameters

-

Request

curl --location --request POST 'https://stake.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "eth_hashrate",
"params": [],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x0"
}