[#Descriptor-GetOutputType] = xref:Descriptor.adoc[Descriptor]::GetOutputType :relfileprefix: ../ :mrdocs: Report the output type of the scripts produced by this descriptor. == Synopsis Declared in `<script/descriptor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::optional<OutputType> GetOutputType() const = 0; ---- == Return Value The OutputType of the scriptPubKey(s) produced by this descriptor. Or nullopt if indeterminate (multiple or none) [.small]#Created with https://www.mrdocs.com[MrDocs]#