OutputTypeFromDestination

Get the OutputType for a CTxDestination

Synopsis

Declared in <outputtype.h>

std::optional<OutputType>
OutputTypeFromDestination(CTxDestination const& dest);

Return Value

The output type of the destination, or no value if unknown.

Parameters

NameDescription
destThe destination to classify.