wallet::CWallet::TransactionChangeType

Choose the change output type for a transaction.

Synopsis

Declared in <wallet/wallet.h>

OutputType
TransactionChangeType(
    std::optional<OutputType> const& change_type,
    std::vector<CRecipient> const& vecSend) const;

Return Value

The output type to use for the change output.

Parameters

NameDescription
change_typeExplicitly requested change type, if any.
vecSendThe intended recipients of the transaction.