Descriptor::ScriptSize

Get the size of the scriptPubKey for this descriptor.

Synopsis

Declared in <script/descriptor.h>

virtual
std::optional<int64_t>
ScriptSize() const = 0;

Return Value

The scriptPubKey size in bytes, or nullopt if unknown.