pub fn calculate_min_required_utxo(output: Output) -> u64
Expand description
Calculates the minimum required UTXO for a given output.
This function calculates the minimum required UTXO value based on the size of the serialized output. The calculation uses the post-Alonzo (Babbage) form of the output and incorporates the overhead cost and cost per byte.
§Arguments
output
- AnOutput
representing the transaction output.
§Returns
u64
- The minimum required UTXO value in lovelace.