Skip to content
DMD coin

getrawchangeaddress

Wallet command of DebitMyData Core 1.3.5.

getrawchangeaddress ( "address_type" )

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

1. address_type (string, optional, default=set by -changetype) The address type to use. Options are "legacy", "p2sh-segwit", "bech32", "bech32m".
"str" (string) The address
Terminal window
debitmydata-cli getrawchangeaddress
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getrawchangeaddress", "params": []}' -H 'content-type: application/json' http://127.0.0.1:18557/