min_ref_script_fee

Function min_ref_script_fee 

Source
pub fn min_ref_script_fee(
    linear_fee: &LinearFee,
    total_ref_script_size: u64,
) -> Result<Coin, JsError>
Expand description

Calculates the cost of all ref scripts

  • total_ref_script_size - Total size (original, not hashes) of all ref scripts. Duplicate scripts are counted as many times as they occur