⚡ We welcome businesses to test our enterprise-grade service

dgb
DigiByte (DGB)

Method: POST getrawchangeaddress

dropdown

方法 RPC getrawchangeaddress 例如 DigiByte (DGB)

POST getrawchangeaddress

Method not allowed

返回一个新的比特币地址,用于接收更改。

这是用于原始交易,而不是正常使用。

Parameters

address_type - 字符串,可选,默认值=由-ChangeType设置

要使用的地址类型。 选项是“遗产”,“ p2sh-segwit”和“ bech32”。

Request

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


Response

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