wallet::ScriptPubKeyMan::GetNewDestination

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

NameDescription
typeThe output type of the destination to create.