create_transactions (Func)¶
Create one or more transactions with automatic UTXO selection and change handling.
Handles large transfers that may require multiple transactions due to mass limits.
| PARAMETER | DESCRIPTION |
|---|---|
network_id
|
The network to build transactions for (required for UTXO entries).
TYPE:
|
entries
|
UtxoContext or list of UTXO entries to spend from.
TYPE:
|
change_address
|
Address to send change to.
TYPE:
|
outputs
|
Optional list of payment outputs.
TYPE:
|
payload
|
Optional transaction payload data.
TYPE:
|
fee_rate
|
Optional fee rate multiplier.
TYPE:
|
priority_fee
|
Additional fee in sompi.
TYPE:
|
priority_entries
|
UTXOs to use first.
TYPE:
|
sig_op_count
|
Signature operations per input (default: 1).
TYPE:
|
minimum_signatures
|
For multisig fee estimation.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
dict
|
Dictionary with "transactions" (list) and "summary" keys.
TYPE:
|
| RAISES | DESCRIPTION |
|---|---|
Exception
|
If transaction creation fails. |