getrawchangeaddress

getrawchangeaddress ( "address_type" )

Returns a new BitcoinEvo address for receiving change.

This is intended for use with raw transactions, not for normal wallet use.

Argument #1 – address_type

Type: string, optional, default=set by -changetype

Specifies the address type to use. Available options are:

  • "legacy": Creates a legacy address.
  • "p2sh-segwit": Creates a P2SH-SegWit address.
  • "bech32": Creates a native SegWit (bech32) address.

Result

Name

Type

Description

str

string

The address

Examples

bitcoinevo-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/