pub fn collateral_address(network_flag: bool) -> AddressExpand description
Generates a collateral address for the specified Cardano network.
This function creates a Shelley address for collateral purposes. The address is not staked,
meaning it has a Null delegation part. The network_flag determines whether the address
is for the Testnet or Mainnet.
§Arguments
network_flag- A boolean flag specifying the network:truefor Testnet.falsefor Mainnet.
§Returns
Address- The collateral address for the specified network.