pub fn parse_hex_u64(hex: &str) -> Result<u64>
Parse hex string to u64.
Returns an error if the hex string cannot be parsed as u64.