pub fn address_from_script(script: &Script, network: Network) -> Option<Address>
Retrieve an address from the given script.