calculate_transaction_mass (Func)¶
Calculate the mass of an unsigned transaction.
| PARAMETER | DESCRIPTION |
|---|---|
network_id
|
The network identifier.
TYPE:
|
tx
|
The transaction to calculate mass for.
TYPE:
|
minimum_signatures
|
Minimum signatures per input (default: 1).
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
int
|
The calculated transaction mass.
TYPE:
|
| RAISES | DESCRIPTION |
|---|---|
Exception
|
If mass calculation fails. |