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

Return the maximum size of the stack during execution of this script&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;uint32&lowbar;t&gt;
GetExecStackSize() const;
----

== Return Value

The peak execution stack size, or std&colon;&colon;nullopt if no satisfaction exists&period;


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