[#miniscript-Node-GetOps] = xref:miniscript.adoc[miniscript]::xref:miniscript/Node.adoc[Node]::GetOps :relfileprefix: ../../ :mrdocs: Return the maximum number of ops needed to satisfy this script non‐malleably. == Synopsis Declared in `<script/miniscript.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<uint32_t> GetOps() const; ---- == Return Value The op count, or std::nullopt if no satisfaction exists. [.small]#Created with https://www.mrdocs.com[MrDocs]#