[#wallet-CWallet-TransactionChangeType]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::TransactionChangeType
:relfileprefix: ../../
:mrdocs:

Choose the change output type for a transaction&period;

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OutputType.adoc[OutputType]
TransactionChangeType(
    std::optional&lt;OutputType&gt; const& change&lowbar;type,
    std::vector&lt;CRecipient&gt; const& vecSend) const;
----

== Return Value

The output type to use for the change output&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *change&lowbar;type*
| Explicitly requested change type, if any&period;
| *vecSend*
| The intended recipients of the transaction&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
