[#wallet-CreatedTransactionResult] = xref:wallet.adoc[wallet]::CreatedTransactionResult :relfileprefix: ../ :mrdocs: Outcome of building a new transaction, bundling the transaction with its fee details. == Synopsis Declared in `<wallet/types.h>` [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. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:wallet/CreatedTransactionResult/change_pos.adoc[`change_pos`] | Position of the change output in the transaction, if a change output was created. | xref:wallet/CreatedTransactionResult/fee.adoc[`fee`] | The fee paid by the transaction. | xref:wallet/CreatedTransactionResult/fee_reason.adoc[`fee_reason`] | The reason the transaction's fee rate was chosen. | xref:wallet/CreatedTransactionResult/tx.adoc[`tx`] | The newly created transaction. |=== == 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(); Also create the change output, when needed | xref:wallet/FundTransaction.adoc[`FundTransaction`] | Insert additional inputs into the transaction by calling CreateTransaction(); |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#