pub fn collateral_input(network_flag: bool) -> InputExpand description
Creates a collateral input for a transaction based on the network.
This function selects a pre-defined collateral UTXO based on the network flag
and creates an Input using the UTXO hash and an index of 0.
§Arguments
network_flag- A boolean flag specifying the network:truefor Preprod.falsefor Mainnet.
§Returns
Input- A transaction input constructed from the specified collateral UTXO.