pub fn hex_to_address(hex: &str) -> Result<String, ProviderError>
Convert a hex format script hash to an address.