Skip to content

getrawchangeaddress JSON-RPC command

getrawchangeaddress

Returns a new Bitcoin Cash 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 v23.0.1-cc5d181

Documentation on docs.bitcoincashnode.org reflects the current master branch in Git, and may include API changes that are not yet present in the latest release.