Descriptor::GetOutputType

Report the output type of the scripts produced by this descriptor.

Synopsis

Declared in <script/descriptor.h>

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)