Generate a new change destination of the given type.

Synopsis

Declared in <wallet/wallet.h>

util::Result<CTxDestination>
GetNewChangeDestination(OutputType type);

Return Value

The new change destination, or an error if none could be generated.

Parameters

Name

Description

type

The output type for the new change address.

Created with MrDocs