RPC Browser


Command: getrawchangeaddress


Help Content for getrawchangeaddress
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) The address type to use. Options are "legacy", "p2sh-segwit", and "bech32". Default is set by -changetype.

Result:
"address"    (string) The address

Examples:
> bitcoin-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:7332/
Execute Command: getrawchangeaddress

Atomicswaps (6)


Blockchain (22)


Control (6)


Generating (2)


Mining (5)


Minting (1)


Network (12)


Rawtransactions (8)


Util (6)


Wallet (48)