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

Name

Description

change_type

Explicitly requested change type, if any.

vecSend

The intended recipients of the transaction.

Created with MrDocs