stake

xDai (STAKE)

Method: POST eth_submitHashrate

dropdown
POST

eth_submitHashrate

方法不允许

提交挖矿算力。

被Ethminer等挖矿软件使用。

Parameters

DATA, 32 Bytes -

哈希率的十六进制字符串表示。

DATA, 32 Bytes -

标识客户端的随机十六进制 ID。

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_submitHashrate",
"params": ["0x0000000000000000000000000000000000000000000000000000000000500000", "0x59daa26581d0acd1fce254fb7e85952f4c09d0915afd33d3886cd914bc7d283c"],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}