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