[#miniscript-Node-GetStaticOps]
= xref:miniscript.adoc[miniscript]::xref:miniscript/Node.adoc[Node]::GetStaticOps
:relfileprefix: ../../
:mrdocs:

Return the number of ops in the script (not counting the dynamic ones that depend on execution)&period;

== Synopsis

Declared in `&lt;script&sol;miniscript&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
uint32&lowbar;t
GetStaticOps() const;
----

== Return Value

The static op count of the script&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
