pub fn decode_hex_response( encoded_response: &str, ) -> Result<Vec<u8>, BlockchainRpcClientError>
Decodes a hexadecimal string response from a blockchain RPC call.
Returns an error if the hex decoding fails.