[#wallet-DescriptorScriptPubKeyMan-GetNewDestination-0a] = xref:wallet.adoc[wallet]::xref:wallet/DescriptorScriptPubKeyMan.adoc[DescriptorScriptPubKeyMan]::GetNewDestination :relfileprefix: ../../ :mrdocs: Returns a new destination of the given output type. == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual xref:util/Result.adoc[util::Result<CTxDestination>] GetNewDestination(xref:OutputType.adoc[OutputType] type) override; ---- == Return Value The new destination, or an error if it could not be created. == Parameters [cols="1,4"] |=== | Name| Description | *type* | The output type of the destination to create. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#