⚡ We welcome businesses to test our enterprise-grade service

doge
DogeCoin (DOGE)

Method: POST getnewaddress

dropdown

方法 RPC getnewaddress 例如 DogeCoin (DOGE)

POST getnewaddress

Method not allowed

返回一个新的Dogecoin地址,用于接收付款。

Parameters

account - 细绳

如果指定帐户(建议),则将其添加到通讯录中,以便将其收到的付款记入贷款。

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


Response

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