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

Accurately count sigOps, including sigOps in pay&hyphen;to&hyphen;script&hyphen;hash transactions&colon;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unsigned int
GetSigOpCount(xref:CScript.adoc[CScript] const& scriptSig) const;
----

== Return Value

The number of signature operations&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *scriptSig*
| The scriptSig that redeems this script&period;
|===


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