⚡ We welcome businesses to test our enterprise-grade service

Method: POST miner_start

dropdown

方法 GETH RPC miner_start 例如 Ethereum (ETH)

POST miner_start

Method not allowed

使用给定数量的线程启动CPU挖掘过程,并在需要时生成新的DAG。

Parameters

number - 数字

线程数

Request

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


Response

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