RPC Browser

Arguments


Help Content

getrawchangeaddress ( "address_type" )

Returns a new Bitcoin address, for receiving change.
This is for use with raw transactions, NOT normal use.

Arguments:
1. address_type    (string, optional, default=set by -changetype) The address type to use. Options are "legacy", "p2sh-segwit", "bech32", and "bech32m".

Result:
"str"    (string) The address

Examples:
> bitcoinII-cli getrawchangeaddress 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getrawchangeaddress", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:8332/

address_type

{
    "name": "address_type",
    "detailsLines": [],
    "properties": [
        "string",
        "optional",
        "default=set by -changetype"
    ],
    "description": "The address type to use. Options are \"legacy\", \"p2sh-segwit\", \"bech32\", and \"bech32m\"."
}

Favorites (1)

Recent (5)

Blockchain (33)

Control (6)

Mining (7)

Network (14)

Rawtransactions (19)

Signer (1)

Util (8)

Wallet (66)

Zmq (1)