create_input_signature (Func)¶
Create a signature for a specific transaction input.
| PARAMETER | DESCRIPTION |
|---|---|
tx
|
The transaction containing the input to sign.
TYPE:
|
input_index
|
The index of the input to sign.
TYPE:
|
private_key
|
The private key for signing.
TYPE:
|
sighash_type
|
The signature hash type (default: All).
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
str
|
The signature as a hex string.
TYPE:
|
| RAISES | DESCRIPTION |
|---|---|
Exception
|
If signing fails. |