Skip to main content

getrawchangeaddress

Command#

pacprotocol-cli getrawchangeaddress

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

Examples#

pacprotocol-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:1111/

Result#

"address" #(string) The address

Running following help command

pacprotocol-cli help getrawchangeaddress

Will produce following output:

getrawchangeaddress
Returns a new PAC address, for receiving change.
This is for use with raw transactions, NOT normal use.
Result:
"address" (string) The address
Examples:
> pacprotocol-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:1111/