Documentation exported from Syscoin Core 4.1.2

getrawchangeaddress (4.1.2 RPC)

blockchain

control

generating

governance

governancewallet

mining

network

rawtransactions

syscoin

syscoinwallet

util

wallet

zmq

getrawchangeaddress ( "address_type" )

Returns a new Syscoin 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", and "bech32".

Result:
"address"    (string) The address

Examples:
> syscoin-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:8370/