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

Outcome of building a new transaction, bundling the transaction with its fee details&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct CreatedTransactionResult;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:wallet/CreatedTransactionResult/2constructor.adoc[`CreatedTransactionResult`]         [.small]#[constructor]#
| Construct a result from the transaction, its fee, the change output position, and the fee reason&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:wallet/CreatedTransactionResult/change_pos.adoc[`change&lowbar;pos`] 
| Position of the change output in the transaction, if a change output was created&period;
| xref:wallet/CreatedTransactionResult/fee.adoc[`fee`] 
| The fee paid by the transaction&period;
| xref:wallet/CreatedTransactionResult/fee_reason.adoc[`fee&lowbar;reason`] 
| The reason the transaction&apos;s fee rate was chosen&period;
| xref:wallet/CreatedTransactionResult/tx.adoc[`tx`] 
| The newly created transaction&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:wallet/CreateTransaction.adoc[`CreateTransaction`]
| Create a new transaction paying the recipients with a set of coins selected by SelectCoins()&semi; Also create the change output, when needed
| xref:wallet/FundTransaction.adoc[`FundTransaction`]
| Insert additional inputs into the transaction by calling CreateTransaction()&semi;
|===


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