Skip to content

getrawchangeaddress JSON-RPC command

getrawchangeaddress

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

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:8332/

Bitcoin Cash Node Daemon version v22.0.0