[#IsSegWitOutput]
= IsSegWitOutput
:mrdocs:

Check whether a scriptPubKey is known to be segwit&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
IsSegWitOutput(
    xref:SigningProvider.adoc[SigningProvider] const& provider,
    xref:CScript.adoc[CScript] const& script);
----

== Return Value

True if the script is a known segwit output&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *provider*
| The source of scripts used to resolve the output&period;
| *script*
| The output script to inspect&period;
|===


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