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