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

Name

Description

type

The output type of the destination to create.

Created with MrDocs