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

Return the size of the script for this expression (faster than ToScript()&period;size())&period;

== Synopsis

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

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

== Return Value

The script size in bytes&period;


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