Outcome of building a new transaction, bundling the transaction with its fee details.
Declared in <wallet/types.h>
struct CreatedTransactionResult;
| Name | Description |
|---|---|
CreatedTransactionResult [constructor] | Construct a result from the transaction, its fee, the change output position, and the fee reason. |
| Name | Description |
|---|---|
change_pos | Position of the change output in the transaction, if a change output was created. |
fee | The fee paid by the transaction. |
fee_reason | The reason the transaction's fee rate was chosen. |
tx | The newly created transaction. |
| Name | Description |
|---|---|
CreateTransaction | Create a new transaction paying the recipients with a set of coins selected by SelectCoins(); Also create the change output, when needed |
FundTransaction | Insert additional inputs into the transaction by calling CreateTransaction(); |