Returns a new destination of the given output type, or an error if unsupported.

Synopsis

Declared in <wallet/scriptpubkeyman.h>

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

Return Value

The new destination, or an error if the type is unsupported.

Parameters

Name

Description

type

The output type of the destination to create.

Created with MrDocs