Skip to content

is_script_pay_to_script_hash (Func)

Check if a script is a pay-to-script-hash (P2SH) script.

PARAMETER DESCRIPTION
script

The script bytes to check.

TYPE: Binary

RETURNS DESCRIPTION
bool

True if the script is a P2SH script.

TYPE: bool