Construct a result from the transaction, its fee, the change output position, and the fee reason.
Declared in <wallet/types.h>
CreatedTransactionResult(
CTransactionRef _tx,
CAmount _fee,
std::optional<unsigned int> _change_pos,
FeeReason _fee_reason);
| Name | Description |
|---|---|
| _tx | The newly created transaction. |
| _fee | The fee paid by the transaction. |
| _change_pos | Position of the change output in the transaction, if any. |
| _fee_reason | The reason the transaction's fee rate was chosen. |