[#wallet-CWallet-GetNewChangeDestination] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::GetNewChangeDestination :relfileprefix: ../../ :mrdocs: Generate a new change destination of the given type. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:util/Result.adoc[util::Result<CTxDestination>] GetNewChangeDestination(xref:OutputType.adoc[OutputType] type); ---- == Return Value The new change destination, or an error if none could be generated. == Parameters [cols="1,4"] |=== | Name| Description | *type* | The output type for the new change address. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#