I realize that the CLI has commands for calculating a minimum fee based on a transaction size, but I'm wanting to do a calculation manually. The documentation states that the formula for calculating the transaction minimum fee is
a * size(tx) + b where
b are protocol parameters, and
size(tx) is the transaction size in bytes.
Is there a way to calculate the transaction size if I know the number of consumed and output UTxOs? Also, are
b in the genesis file?