wallet::CreatedTransactionResult

Outcome of building a new transaction, bundling the transaction with its fee details.

Synopsis

Declared in <wallet/types.h>

struct CreatedTransactionResult;

Member Functions

NameDescription
CreatedTransactionResult [constructor]Construct a result from the transaction, its fee, the change output position, and the fee reason.

Data Members

NameDescription
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.

Non-Member Functions

NameDescription
CreateTransactionCreate a new transaction paying the recipients with a set of coins selected by SelectCoins(); Also create the change output, when needed
FundTransactionInsert additional inputs into the transaction by calling CreateTransaction();