Tx finalization
The Helios API can be used to build transactions. Finalization consist of the following steps:
- balancing of non-ADA assets
- calculation of script execution units (using a dummy fee set to the maximum possible value)
- setting collateral inputs and collateral output (using total execution budget calculated in previous step)
- iteratively calculate the min fee for the transaction and balance the lovelace