pub fn hex_to_field_bytes(hex: &str) -> Result<Vec<u8>, JsValue>
Convert hex string to Little-Endian field bytes