[#CScript-IsUnspendable]
= xref:CScript.adoc[CScript]::IsUnspendable
:relfileprefix: ../
:mrdocs:

Returns whether the script is guaranteed to fail at execution, regardless of the initial stack&period; This allows outputs to be pruned instantly when entering the UTXO set&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
IsUnspendable() const;
----

== Return Value

true if the output is provably unspendable&period;


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