is_script_pay_to_pubkey (Func)¶
Check if a script is a pay-to-pubkey (P2PK) script.
| PARAMETER | DESCRIPTION |
|---|---|
script
|
The script bytes to check.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the script is a P2PK script.
TYPE:
|