⚡ We welcome businesses to test our enterprise-grade service

Method: POST miner_setEtherbase

dropdown

方法 GETH RPC miner_setEtherbase 例如 Ethereum (ETH)

POST miner_setEtherbase

Method not allowed

设置以太店,采矿奖励将会去。

Parameters

address - 细绳

奖励地址

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_setEtherbase",
"params": [null],
"id": "getblock.io"}'


Response

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