[#Descriptor-GetOutputType]
= xref:Descriptor.adoc[Descriptor]::GetOutputType
:relfileprefix: ../
:mrdocs:

Report the output type of the scripts produced by this descriptor&period;

== Synopsis

Declared in `&lt;script&sol;descriptor&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
std::optional&lt;OutputType&gt;
GetOutputType() const = 0;
----

== Return Value

The OutputType of the scriptPubKey(s) produced by this descriptor&period; Or nullopt if indeterminate (multiple or none)


[.small]#Created with https://www.mrdocs.com[MrDocs]#
