⚡ We welcome businesses to test our enterprise-grade service

doge
DogeCoin (DOGE)

Method: POST getwork

dropdown

方法 RPC getwork 例如 DogeCoin (DOGE)

POST getwork

Method not allowed

获取远程采矿的工作,或提交结果。 如果指定了数据,则服务器尝试使用提供的数据来求解块,并在成功的情况下返回true。 如果没有,该函数将返回格式化的哈希数据(WorkItem)进行处理。

Parameters

data - 细绳

选修的。

远程采矿产生。

Request

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


Response

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