[#CScriptID-2constructor-02]
= xref:CScriptID.adoc[CScriptID]::CScriptID
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

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

Constructs a null script ID&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CScriptID/2constructor-09.adoc[CScriptID]();
----

[.small]#xref:CScriptID/2constructor-09.adoc[_» more&period;&period;&period;_]#

Constructs the script ID from a script by hashing its serialization&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:CScriptID/2constructor-0f.adoc[CScriptID](xref:CScript.adoc[CScript] const& in);
----

[.small]#xref:CScriptID/2constructor-0f.adoc[_» more&period;&period;&period;_]#

Constructs the script ID from a precomputed hash&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:CScriptID/2constructor-01.adoc[CScriptID](xref:uint160.adoc[uint160] const& in);
----

[.small]#xref:CScriptID/2constructor-01.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *in*
| Script to reference&period;
|===


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