Determine whether a scriptPubKey uses a standard output form.
Declared in <policy/policy.h>
bool
IsStandard(
CScript const& scriptPubKey,
TxoutType& whichType);
true if the script is a standard type.
| Name | Description |
|---|---|
| scriptPubKey | Output script to classify. |
| whichType | Set to the detected output type. |