Module fees

Module fees 

Source

Structs§

LinearFee
Careful: although the linear fee is the same for Byron & Shelley The value of the parameters and how fees are computed is not the same

Functions§

min_fee
Calculates the cost of all ref scriptstotal_ref_script_size - Total size (original, not hashes) of all ref scripts. Duplicate scripts are counted as many times as they occur
min_no_script_fee
min_ref_script_fee
Calculates the cost of all ref scripts
min_script_fee
Min fee for JUST the script, NOT including ref inputs