wallet::DescriptorScriptPubKeyMan::GetNewDestination

Returns a new destination of the given output type.

Synopsis

Declared in <wallet/scriptpubkeyman.h>

virtual
util::Result<CTxDestination>
GetNewDestination(OutputType type) override;

Return Value

The new destination, or an error if it could not be created.

Parameters

NameDescription
typeThe output type of the destination to create.