1 Introduction

Today, global healthcare spending could exceed $10 trillion [1]. Healthcare is a vital field that impacts the global population and plays an important role in the advancement of nations. As a result, eHealth systems have contributed greatly to most government initiatives worldwide, and industry spending increased by 4.1% per year globally between 2017 and 2021 [2].

IoT technology has greatly impacted the healthcare sector and led to significant growth in recent years. The eHealth industry has been significantly improved by integrating IoT into various applications such as EMR management, disease prediction, remote patient monitoring, and drug traceability [3]. In healthcare systems, data collected by IoT sensors play a critical role [4]. Remote patient monitoring is very prevalent these days, and protecting the privacy of enormous volumes of data is a major challenge with such systems [5]. These issues can be solved with several technologies, such as Mobile Edge Computing (MEC), Fog Computing, and Blockchain [6]. Blockchain technology is being explored as a potential solution for addressing security challenges. This has led to increased interest in using blockchain to safeguard sensitive data [3]. Integration of IoT-based eHealth systems using blockchain technology is presented in lots of research, and many challenges are faced in this integration. This article reviews and analyzes integration frameworks of Blockchain-based IoT in the healthcare industry. Moreover, the work also identifies key challenges that impede blockchain adoption in healthcare applications utilizing IoT architectures.

1.1 Search methodology

This study delves into blockchain-based research papers Related to Healthcare, IoT, and Blockchain published between 2015 and 2023.

1.1.1 Search strategy

The search space for this study was defined by utilizing various scientific databases, including Google Scholar, ResearchGate, IEEE, Science Direct, Elsevier, Springer, ACM, MDPI, Wiley, and Hindawi.

1.1.2 Search criteria

To achieve a comprehensive understanding of the subject and address the research questions, specialized search keywords were employed. The selected papers were identified using the search keywords (“HER” OR “Healthcare” OR “EMR” OR “Electronic Health Record” OR “Electronic Medical Record”) AND (“IoT” OR “Internet of Things”) AND “Blockchain.”

1.1.3 Paper selection process

Following the defined search strategy and criteria as shown in Fig. 1, the paper selection process proceeded in the following steps:

  • Step 1: Initial collection involved gathering papers based on their titles and keywords, accumulating 300 papers.

  • Step 2: Subsequent refinement comprised removing duplicates and focusing on the abstract and conclusion sections. After this step, 150 papers remained.

  • Step 3: In the final step, a thorough examination of the entire content of each paper was undertaken, and any unsuitable ones were excluded. This meticulous process led to the ultimate selection of 110 papers specifically associated with healthcare, IoT, and Blockchain, all included in this survey.

Fig. 1
figure 1

PRISMA Chart for paper selection process

1.2 Contributions and comparisons to other survey articles

In this survey, we assessed the adoption of Blockchain in an IoT-based eHealth system Besides, we will emphasize the importance of blockchain in such a system and describe how the scientific community views the future of blockchain–IoT healthcare integration. To achieve our goals, we reviewed modern research and studies focusing on the most common challenges surrounding the use of Blockchain and IoT in eHealth applications. Table 1 summarizes the key findings and contributions of previous comprehensive surveys that have examined the integration of IoT and blockchain in eHealth systems. In our research evaluation, we highlighted the breakdown of the studies into various components and noted several key observations. Figure 2 shows the paper's contributions.

Table 1 Recent survey comparisons
Fig. 2
figure 2

Paper contributions

The survey's primary contributions include:

  • A detailed examination of the value of eHealth systems, offering insights into their importance and potential impact in the healthcare domain (Sect. 2).

  • An enhanced understanding of IoT, including a brief overview and exploration of its challenges, aiding readers in grasping complexities in IoT implementation in healthcare (Sect. 3).

  • An investigation into IoT rules (Sect. 4), providing guidance for comprehending regulatory frameworks governing IoT, especially in healthcare applications, optimizing IoT utilization in the sector.

  • A comprehensive overview of Blockchain technology and its applications (Sect. 5), offering valuable insights into the role of blockchain in enhancing healthcare systems.

  • Discussion of recent research efforts in integrating IoT with Blockchain in healthcare (Sect. 6), providing a snapshot of the current state, advancements, and challenges in this evolving field.

  • Exploring contributions and limitations of recent research in IoT-based healthcare integrated with blockchain (Sect. 7).

The ultimate purpose of the survey is to familiarize researchers with the relevance of IoT in the eHealth industry and the challenges that arise from it. The survey enables readers to make informed judgments about incorporating blockchains into their IoT-focused healthcare practices by studying future trends and offering solutions.

1.3 Paper organization

The structure of the paper is as follows: the value of the eHealth system is discussed in Sect. 2. Section 3 provides a brief on the IoT and the difficulties it faces. In Sect. 4, IoT rules are investigated to assist in better comprehending the many healthcare applications that employ IoT. Section 5 presents the blockchain overview and its applications. Section 6 discusses recent research in IoT integrated with Blockchain in healthcare. Section 7 shows the contributions and limitations in recent research in IoT based on healthcare integrated with blockchain. Section 8 concludes the paper and future directions.

2 eHealth

eHealth is extremely important for public health and medical treatment. It is estimated that advancements in health and medical care can increase life expectancy by several years. They may even greatly enhance the quality of life and functional abilities [13].

eHealth is the treatment, amelioration, and diagnosis of injuries and mental disabilities in people and the improvement of their health. eHealth is provided by doctors, pharmacists, dentists, nurses, optometrists, psychologists, midwives, audiologists, and others.

eHealth [14] (Electronic Health) refers to how information technology may improve patient health and the healthcare system. Experts expect that this area of healthcare will continue to expand since technology has helped minimize wait times and some of the responsibilities placed on medical personnel. During the COVID-19 epidemic, eHealth has been immensely popular since it has allowed healthcare providers to provide front-line medical treatments to patients despite the closure of local surgical facilities and hospital departments.

A study conducted by [15], which surveyed 398 healthcare professionals, found that telemedicine usage is expected to remain at a high-level post-pandemic, with over 20% of patient appointments being handled through telemedicine. This represents a significant increase from the pre-pandemic usage of 2% and possibly as high as 61% during the pandemic. Figure 3 depicts the percentage of patient appointments in the United States that were done via telemedicine before, during, and after COVID-19. The integration of IoT technology is revolutionizing conventional healthcare systems, particularly through the monitoring of patient behavior. Within healthcare systems, data collected by IoT sensors plays a pivotal role [4].

Fig. 3
figure 3

April 2020, patient appointments, and telemedicine before, during, and after COVID-19 [15]

Various forms of data, like Personal Health Records (PHR), enable individuals to take charge of their health information despite facing security concerns during data transfer. Electronic Medical Records (EMR) concentrate on medical histories within a specific practice, encountering challenges in interoperability. Electronic Health Records (EHR) offer a comprehensive overview across healthcare providers, sharing similar interoperability concerns. Common issues encompass difficulties in data exchange, security vulnerabilities, and the potential for Unauthorized access. In the IoT healthcare landscape, a combination of these records is employed, presenting security challenges during data transfer that necessitate robust measures for maintaining data integrity and interoperability [16]. This transformative impact extends to patient care, where IoT solutions may mitigate the need for emergency department visits or hospital stays, proving particularly advantageous for individuals with mobility challenges, even enhancing convenience in utilizing public transportation [17].

3 Internet of Things (IoTs)

IoT is attracting significant attention from researchers and academics due to its ability to introduce new services and solutions across various applications [19, 20]. IoT seamlessly connects various “things” (devices) to create an IoT network infrastructure where communication, processing, and sensing activities are carried out without human intervention [21]. According to (“IoT devices installed base worldwide 2015–2025 | Statista,” n.d.), by 2025, the total number of IoT-connected things (devices) in use will reach 75 billion devices.

Figure 4 demonstrates the rapid expansion of IoT-connected devices. The IoT industry is projected to experience significant revenue growth, increasing from $892 billion in a device in 2018 to approximately $4 trillion in devices by 2025. The IoT applications including Healthcare, Smart Cities, Environments, Grids, Retail, Farming, and many more [22]. Figure 5 shows the IoT’s history, current, and future architecture. The gadgets will not only be connected to the epidemic [15].

Fig. 4
figure 4

IoT-connected devices in use worldwide from 2015 to 2025 [18]

Fig. 5
figure 5

Different architecture of IoT [23]

SIoT is the concept of social IoT that is becoming more prevalent. It allows various social networking users to connect to devices via SIoT, enabling them to share the IoT devices in public over the internet. Therefore, SIoT creates new ways for people to communicate and interact with each other and with connected devices [23].

IoT will bring innovation to many aspects of our modern society, both at home and in the workplace. Among them, the healthcare industry is a strong challenger. Real-time patient monitoring can be made possible with IoT, which is particularly important for individuals with chronic diseases. This allows instant and continuous monitoring of the patient's state, providing healthcare providers valuable information to help manage and treat their condition [25].

From 2016 to 2025, in [24], Fig. 6 depicts the expected size of the IoT in the eHealth industry. In 2016, eHealth-related IoT sales reached about 24 billion dollars, with estimates indicating that by 2025, the previous number would rise to more than 135 billion dollars. It demonstrates the value of IoT in the eHealth industry. Implementing IoT in healthcare has several benefits, including:

  • Data collection errors reduction.

  • Patient care Improvement.

  • Enhancing the management of hospital resources.

Fig. 6
figure 6

IoT in the healthcare industry [24]

By automating data collection and analysis, IoT can help improve the accuracy and speed of healthcare delivery while enabling more efficient resource use.

Despite IoT-based eHealth benefits, some obstacles need to be overcome. One of these obstacles is the management of information. As information plays a critical role in the decision-making process for patient care, the massive data volume generated by IoT devices may be overwhelming. By 2025, based on the IDC (International Data Corporation), 41.6 billion IoT devices will be in use, generating 79.4 Zettabytes of data, which must be collected, stored, and analyzed securely and efficiently to be useful in healthcare (“The Growth in Connected IoT Devices is Expected to Generate 79.4 ZB of Data in 2025, According to a New IDC Forecast | TelecomTV,” n.d.). This massive unstructured data must be handled in a real-time way. Processing, data collection, and interpretation need a huge amount of computing, network, and storage resources. The monitoring data must be synced and evaluated on time so the treating physician can make suitable and informed decisions.

IoT security challenges revolve around ensuring data confidentiality, integrity, and availability (CIA) [26]. Confidentiality concerns involve protecting sensitive information from unauthorized access ensuring that only authorized parties can access and interpret the data generated by IoT devices. Integrity focuses on maintaining the accuracy and reliability of the data, preventing any unauthorized tampering or alterations. Availability is crucial for IoT devices' continuous and reliable operation, requiring measures to prevent disruptions or denial of service attacks. IoT systems' diverse and interconnected nature intensifies these challenges, necessitating robust security measures to mitigate potential risks and vulnerabilities in this rapidly expanding and interconnected landscape. Additionally, the diversity of IoT devices and systems presents challenges for interoperability, especially as IoT is increasingly being used in large-scale projects such as smart cities where many kinds of devices and systems need to communicate seamlessly. There is no widely agreed-upon standard to follow [27]. The lack of standardization among IoT devices can make implementing successful IoT systems in healthcare challenging. One of the possible solutions to this problem is to use Blockchain. It can help to solve interoperability issues by creating a secure, decentralized network that can share data across different devices and systems. Additionally, blockchain can help to improve security by supporting a secure and tamper-proof way to save and transfer sensitive patient data. Therefore, blockchain technology is still relatively new, and its potential in IoT healthcare applications is still being explored [6].

4 Healthcare IoT applications

The Internet of Things enables sensor integration into physical components that collect health data such as heart rate, vital signs, blood pressure, and body temperature. These components will be connected to the internet through a different gateway and deliver real-time eHealth information to various authorities (analysis laboratories, rays, ambulances, hospitals, etc.(. Recent research has suggested that this information can be analyzed and interpreted using ML (Machine Learning) algorithms, which can then be used to diagnose and treat illnesses and provide proactive forecasts in some situations. This can lead to more accurate and efficient healthcare, enabling healthcare providers to make better-informed decisions about patient care. Currently, several healthcare applications [2] use IoT medical devices, as shown in Fig. 7 and Table 2.

Fig. 7
figure 7

Healthcare IoT applications

Table 2 Different healthcare applications that used IoT

4.1 Remotely monitoring patients

The patient’s remote monitoring refers to the use of technology to collect and transmit patient data for analysis and review by healthcare providers, allowing for remote monitoring of patients. Entity management healthcare system prototype proposed to utilize eHealth sensors to gather patient's data and exchange it with the entity. The system includes various sensors such as ECG to monitor the heart's muscle activity, BTS, accelerometers, and environmental sensors [28]. Another eHealth system employed ECG equipment to observe heart rhythm and use the k-nearest neighbor method to diagnose cardiac arrhythmias [29]. A third proposed eHealth system is an IoT-based real-time system using MQTT (Message Queuing Telemetry Transport) for remotely monitoring patients' systems, which aims to ensure the integrity of real-time ECG data [30].

4.2 The prediction of diseases

In [31] the proposed healthcare system is a mobile application using cloud and IoT networks to observe and anticipate critical illnesses. It uses the UCI Repository dataset and medical sensors to develop a systematic approach for identifying and forecasting diabetes and related medical data. A novel classification technique called the Fuzzy Rule-based Neural Classifier is presented to determine the illness and its severity. Furthermore, Al-Makhadmeh et al. proposed an eHealth system that combines the Internet of Things and neural networks to know heart properties from previous studies and forecast most heart illnesses. The authors used the University of California Irvine (UCI) dataset and MATLAB tool to calculate the system's efficiency, and the suggested method had a 99.03% accuracy with an 8.5-s time complexity [32].

In [33], the Authors proposed an eHealth system to discover chronic kidney illness. Their approach resulted in categorization with a prediction accuracy of 97.75%. They also plan to use feature selection and clustering approaches to enhance the model performance.

4.3 Tracking of patients

In [34], Alzimio is a mobile application designed to help individuals with dementia, autism, and Alzheimer's disease by utilizing geofencing and activity-based notifications. The app has been shown to effectively detect activities with an accuracy rate of over 95% and minimal delay using various threshold-based algorithms, such as “max-in-window,” which results in fewer than 30 s.

Moreover, an IoT-based eHealth system for soldiers was proposed, using a heart rate and other sensors for tracking and monitoring [35].

4.4 Coronavirus (COVID-19)

In [36] a system for detecting and monitoring COVID-19 was developed, utilizing wearable sensors and mobile applications to gather current symptom information. Machine learning techniques were applied to analyze a dataset of 14,251 COVID-19 cases to identify potential virus cases.

In [37] an IoT architecture was proposed to detect the infected person. Smart sensors and IoT are being used to measure and record body signs. Individuals’ temperatures aid in identifying those who are affected. In addition, it assists in maintaining social distance. Healthcare systems incorporating IoT technology can improve decision-making by utilizing cloud computing and data analysis.

Authors [38] demonstrated an IoT-based method for preventing COVID-19 in the workplace. Instead of using a manual biometric system, they recommended using face recognition. They also recommended using non-contact infrared sensors to monitor people’s body temperatures and alert authorities when they exceeded a certain level.

Authors [39] proposed a method for early detection of COVID-19 illness using IoT and AI technology to reduce direct communication with infected patients. The system utilizes various advanced eHealth sensors, such as a pulse sensor, heat monitoring, and others. These technologies can work independently without human intervention.

In their work [40] authors proposed an architecture that combines SDN and NFV technologies, proposing an IoT-SDN model with multiple controllers to manage automated industrial systems during the COVID-19 pandemic. Emphasizing the heightened dependence on the internet and cloud-based activities in the current global scenario, the system aims to provide substantial automation while ensuring security and privacy in networking. It enhances the efficiency and reliability of Industry 4.0 applications, thereby effective pandemic management. The model supports intelligent and smart industry practices, encourages social distancing, and aligns with Industry 4.0 principles.

The significance of IoT has been growing recently, especially with the advent of COVID-19. As such, the value of IoT will be further examined as follows:

  • IoT ensures that all data is considered when making better patient decisions. Fully interactive technology and networked health options reinforce and improve treatment efficacy.

  • Advanced IoT technology enhances emergency care and makes it more efficient.

  • Advanced medical technology encourages individuals to take their drugs as prescribed. On-time delivery and other vital health IoT have been shown to increase patient care comfort.

  • IoT enables doctors to consult with experts from all around the world on complex issues.

  • Doctors can use a variety of sophisticated sensors and technology to assist them in their work. With ease, check the patient’s health and internal sentiments [28,29,30, 32, 38, 39].

In the utilization of sensors in healthcare settings has led to a substantial increase in data generation. These sensors, integrated into various medical devices and wearable technologies, continuously collect and monitor patient information, including vital signs, activity levels, and other health-related metrics. The continuous and real-time data streams produced by these sensors result in large volumes of data, commonly called big data. While big data offers numerous advantages in healthcare, such as predictive analytics and early detection of health issues, handling and processing such vast amounts of data can be resource-intensive and complex. As an alternative approach, researchers and healthcare practitioners also leverage datasets that may not fall into the big data category but are still valuable for analysis [31, 33, 36]. These datasets may be more manageable in size and easier to work with, providing meaningful insights without the same level of computational demands as big data analysis.

As shown in Fig. 8, several problems exist in eHealth based IoT, including:

  • Keeping data secure and private is the most challenging task since the daily data acquired is so huge [41].

  • Overusing medical devices might generate network congestion and poor data transfer speeds.

Fig. 8
figure 8

Challenges of IoT in healthcare

Obtaining IoT devices remains a huge challenge [6]. Blockchain technology presents a solution to these issues, and we will explore the different types of blockchains and their features in the next section. Additionally, we will discuss the advantages of using blockchain in healthcare and the consensus methods that are employed in healthcare.

5 Blockchain technology

The term “Blockchain” was first coined by [42] to describe the technology behind the digital currency Bitcoin. Blockchain technology is a distributed and peer-to-peer network in which all transaction records are distributed across all nodes.

Three types of blockchains have been identified: public, private, and consortium, which are used to connect different organizations and promote cooperation among the parties involved. Like private blockchains, consortium blockchains do not have transaction costs, and publishing new blocks is not computationally expensive. However, it doesn't provide complete decentralization and censorship resistance; it still provides auditability and reduces the transaction processing time [43].

The following are blockchain technology's key features:

  1. (1)

    Decentralization centralized networks incur expenses and have performance limitations. In contrast, blockchain-based infrastructures allow for transactions between two nodes without a central organization needing to keep track of data or authorize transactions.

  2. (2)

    Immutability the blockchain is censorship-resistant and difficult to tamper with because all peers agree upon all new updates through decentralized consensus algorithms.

  3. (3)

    Transparency unlike centralized systems, where the central server has complete control over everything, blockchain technology provides a high degree of transparency because all peers have entry to all transaction information that has ever occurred in their network [44].

  4. (4)

    Security using the public key system and the consensus mechanism makes the blockchain resistant to various attacks. Additionally, blockchain eliminates a single point of failure, making it more secure than centralized systems [45].

  5. (5)

    Anonymity blockchain technology allows for anonymity by protecting users' privacy using anonymous identities on the shared distributed ledger [46].

  6. (6)

    Cost blockchain technology can significantly lower costs associated with setup and maintaining centralized systems by utilizing the processing power of communication devices. Unlike centralized systems which require extensive hardware and software, blockchain's distributed nature obviates the need for a centralized server [47].

The features of using blockchain in medical eHealth such as:

  1. 1.

    Patients may submit records to anybody without worrying about data corruption or manipulation since the blockchain is immutable and traceable.

  2. 2.

    A medical record created and uploaded to the blockchain will work similarly to be safe.

  3. 3.

    Patients can have some say in how their medical information is used and shared by the research institutions. Any entity needing medical information about a patient may use the blockchain to obtain the required authorization.

  4. 4.

    A reward mechanism can also motivate the patient’s positive behavior. For example, they can earn tokens for following a care plan or being healthy. They can also be compensated with tokens for providing data for clinical trials and research.

  5. 5.

    Because of the type of product they handle, pharmaceutical firms must have a highly secure supply chain. Pharmaceuticals are often stolen from the supply chain and sold illegally to various customers. Furthermore, counterfeit pharmaceuticals alone cost these businesses roughly $200 billion every year. A transparent blockchain will assist these firms in enabling close tracking of medications back to their place of origin, therefore reducing the incidence of counterfeit medication. As shown in Fig. 9, Full and lightweight nodes are different types of nodes that may be used for blockchain-based operations. The blockchain network’s nodes oversee mining, data storage, block generation, block validation, cryptocurrency purchasing and distribution, and information distribution among peers.

Fig. 9
figure 9

Types of nodes in the blockchain

Research on consensus algorithms has been a prevalent topic for the past 30 years, even before the creation of blockchain technology. Reference [48] give a summary of some of the early work in distributed systems consensus. Consensus algorithms play a vital role in the functioning of blockchain technology. They are designed to securely update and maintain replicated shared states across all peers in the network. By using consensus methods, the blockchain can ensure that all copies of the shared state agree and synchronize at any given moment, a key aspect of the blockchain's state machine replication system. According to [49] and [50], deterministic consensus cannot tolerate errors in completely asynchronous communication models. Therefore, partial synchrony assumptions and maximum latency limits for propagating transactions are necessary [51]. In previous work on consensus procedures, the building elements that went into establishing “Decentralized” consensus algorithms utilized in blockchain networks included cryptography and partial synchronous, as well as predecessor designs and suggestions of digital currency [52, 53].

There are many forms of decentralized blockchain consensus algorithms currently in use, as well as their applicability for IoT networks, particularly in the supply of healthcare services as follows [54]:

  1. 1.

    Proof of Work (PoW): PoW requires high network bandwidth, making it unsuitable for IoT applications. However, it is widely used in various platforms, so it is likely to be incorporated into healthcare services.

  2. 2.

    Proof of Stake (PoS): In this algorithm, the next block is mined by selecting a node through a lottery or random selection process. It is considered the most democratic system available. This mechanism may be a viable solution for eHealth application submissions due to its democratic nature.

  3. 3.

    Delegated Proof of Stake (DPoS): is democratically representative. It speeds up transactions but comes at a higher price in terms of centralization. There is a procedure for identifying rogue delegates and voting them out. As a result, it has great potential for use in eHealthcare settings.

  4. 4.

    Leased Proof of Stake (LPoS) LPoS enables low-balance nodes to participate in a lease contract. This algorithm has the potential to foster a high-quality eHealth service.

  5. 5.

    Proof of Significance (PoI) it is a step forward from PoS. It considers the balance of nodes as well as the reputation of nodes. It’s a more efficient network. It is suggested to be used for eHealth care services since doctors’ reputations may be used to help people make decisions.

  6. 6.

    Practical Byzantine Fault Tolerance (PBFT) this algorithm is more efficient and superior to PoW and PoS, making it suitable for private blockchain use. It also has a low tolerance for malicious nodes. The aim is to apply this protocol to influence the use of eHealth services.

  7. 7.

    Byzantine Fault Tolerance Delegated (dBFT) is a step forward from PBFT. Nodes are chosen from different nodes as a result, it appears that eHealthcare services are gaining popularity.

  8. 8.

    Proof of Capacity (PoC) this is a step forward from Proof of Work (PoW). It will most likely need to store a large amount of data to mine the next. Other nodes block it. It is incompatible with the Internet of Things. We also advise against using it for health-related purposes services.

  9. 9.

    Proof of Activity (PoA) this approach combines PoW and PoS to validate transactions. The process starts with PoW, and then a group of validators performs PoS to place the transaction in the Miner's header. However, due to its high latency, PoA is not suitable for Internet of Things (IoT) applications and, therefore, is not an appropriate choice for eHealth.

  10. 10.

    Proof of Burn (PoB) this is the process of transferring bitcoin to an address that cannot be recovered. Burned coins give a miner a higher priority in terms of mining. Because it is dependent on the presence of a monetary framework, it is ideal for cryptocurrency implementation but terrible for IoT. It is unsuitable for eHealth-related applications due to its random burning technique.

  11. 11.

    Proof of Elapsed Time (PoET) Intel proposed a low-energy alternative to Proof of Work (PoW). It uses a random wait time to select the winning miner and is considered IoT-friendly due to the use of trusted execution environments such as Intel's Software Guard Extension (SGX). However, it is highly specialized for SGX-based environments and may not be suitable for eHealth.

  12. 12.

    The Stellar Consensus Protocol (SCP) is an advancement from the Practical Byzantine Fault Tolerance (PBFT) algorithm. It comprises two parts: the nomination protocol and the ballot protocol. It is well-suited for low-latency microfinance services. Therefore, SCP may be a suitable option for a decentralized application (dAPP) developer to use when creating a healthcare service.

The comprehensive evaluation of consensus algorithms in the realm of blockchain technology involves an in-depth analysis based on a multitude of critical parameters. These essential factors, encompassing blockchain type, transaction rate, scalability, adversary tolerance model, experimental setup, latency, throughput, bandwidth, communication model, communication complexity, and attack finality, collectively serve as crucial metrics for a nuanced comparison. This extensive set of parameters forms the foundation for assessing various consensus algorithms, providing insights into their strengths and weaknesses within the dynamic landscape of blockchain technology.

In the comparative study of recently proposed algorithms [55, 56], such as Proof of Work (PoW), Proof of Stake (PoS), Delegated Proof of Stake (DPoS), Leased Proof of Stake (LPoS), Proof of Significance (PoI), Practical Byzantine Fault Tolerance (PBFT), Byzantine Fault Tolerance Delegated (dBFT), Proof of Capacity (PoC), Proof of Activity (PoA), Proof of Burn (PoB), Proof of Elapsed Time (PoET), and the Stellar Consensus Protocol (SCP), distinctive attributes emerge, significantly influencing their suitability for diverse blockchain applications. For example, PoW, commonly associated with public blockchains, showcases medium to high transaction rates but exhibits moderate scalability. Despite resilience to Sybil attacks, PoW is susceptible to 51% attacks, requiring substantial computational power and resulting in moderate latency and throughput with elevated bandwidth requirements. Conversely, PoS, applicable to both public and private blockchains, offers higher scalability with lower computational demands, albeit vulnerable to Long-Range attacks. DPoS introduces governance layers, reducing latency and enhancing throughput, while LPoS maintains similar characteristics with a slightly lower throughput. The adaptability of PoI is highlighted, offering transaction rates and scalability in the medium range, with performance contingent on the chosen significance metric. PBFT and dBFT, tailored for private blockchains, exhibit high transaction rates, moderate scalability, and resilience to a limited number of malicious nodes. Each consensus algorithm introduces unique trade-offs, underscoring the importance of considering specific application requirements and network conditions during their selection.

6 IoT-based healthcare using blockchain

In this section, we evaluated the integration of Blockchain into an IoT-based eHealth system. Additionally, we will highlight the significance of blockchain within this system and explain the scientific community's perspective on the future integration of blockchain and IoT in healthcare. To achieve our goals, we conducted a thorough review of recent research and studies. Initially, we discussed the importance of blockchain in IoT applications, presenting related work in this domain. Following that, we delved into the impact of this integration in healthcare applications and presented key research findings in this evolving field.

6.1 Integrating blockchain with IoT

IoT systems encounter various challenges, including interoperability issues, resource constraints, and security vulnerabilities. Blockchain emerges as a powerful solution by introducing a decentralized and tamper-evident ledger that significantly enhances the confidentiality, integrity, and availability (CIA) of data within IoT networks. The distributed and consensus-driven nature of blockchain ensures the integrity of IoT data, making tampering highly resistant and fostering trust in the information generated by connected devices. Its cryptographic techniques improve confidentiality by encrypting data during transmission and storage, restricting access to authorized entities. Moreover, the decentralized structure of blockchain strengthens availability, ensuring continuous operation despite potential node failures or attacks. These features fortify the security of IoT systems and establish a robust foundation for transparent, trustworthy, and resilient data management across interconnected devices. A comparative analysis of the features and capabilities of both IoT and blockchain technologies provides valuable insights into their synergies and distinctions, Table 3 presents a comparison of these features and capabilities [8].

Table 3 Comparison between IoT and Blockchain

Furthermore, integrating blockchain technology into IoT systems can improve their scalability and stability. The distributed nature of blockchain allows for distributed data saving and processing, which can support many devices and transactions [57]. In comparison to existing IoT solutions, blockchain provides the following possible benefits as shown in Table 4 [58].

Table 4 Solutions for IoT problems using Blockchain

6.1.1 The blockchain of things architecture

In [58], an architecture was proposed to integrate IoT with Blockchain. This architecture has two advantages:

  • it provides an abstraction from IoT’s lower levels,

  • it offers consumers services based on blockchain technology.

There are five sublayers in the blockchain, as shown in Table 5. The overlay network is a part of the network sub-layer in IoT systems. It comprises digital or tangible links connecting the nodes in the communication networks that form the foundation, which can be cabled or Wi-Fi. The overlay network creates a logical topology on the physical connection’s infrastructure, allowing the nodes to communicate and exchange data. It serves as the communication backbone of the IoT structure, enabling the devices to link and interact. The architecture of IoT-based connection is depicted in Table 6, along with comparisons of related protocols.

Table 5 Blockchain layers used in IoT
Table 6 Network communication protocols

In the consensus sublayer, there are many different consensus algorithms. Still, we need to choose a consensus algorithm more suitable for IoT in [59] proposed that PoS, DPoS, and LPoS are partially compliant with IoT, but PoET is more supported and compliant with IoT.

6.1.2 Related work of IoT with Blockchain

Many studies have touted blockchain technology as the answer to addressing confidentiality and safety concerns in the IoT structure [60]. The article introduces the security problems that arise in IoT systems, specifically focusing on the layers of IoT systems. The authors also survey recent solutions to these security problems and propose that blockchain technology could be a practical way to address these challenges. Reference [61] reviewed IoT and industrial IoT (IIoT) concerns and classified them according to their susceptibility. Then, to address some of the security challenges, he proposed blockchain technology. They also discussed some of the issues that blockchain presents concerning IoT.

Similarly, Reference [62] the authors evaluated various security measures for IoT and identified a lack of datasets as a concern among academics and practitioners. They proposed utilizing blockchain to establish a safe environment for exchanging IoT datasets while acknowledging some difficulties associated with implementing this technology. Furthermore, Reference [63] the authors created a blockchain-based IoT framework that aims to provide a confidential and safe system while minimizing the technical burden of blockchain [64]. Also examine the ability of blockchain technology to analyze the IoT system’s security needs and how combining the IoT with blockchain might solve these problems [7]. The authors gave an overview of the security issues and risks in IoT applications and discussed various solutions that are being developed to enhance trust in these systems. Four specific solutions, FC (fog computing), EC (edge computing), blockchain, and ML (machine learning), were presented as ways to improve security in IoT. The overall subject of IoT security was also examined.

Furthermore, Reference [65] reviewed IoT security challenges before suggesting the blockchain as a potential solution to these problems. They also talked about how IoT and blockchain may work together. Furthermore, Reference [66] the authors presented a smart contract as a solution to address confidentiality and security issues in IoT systems and enable safe interactions between IoT devices. By utilizing blockchain technology, their approach enables decentralization of access control, authentication, and payments. Furthermore, in their work [67] the authors introduced an optimized and comprehensive framework for resource management within a Blockchain-enabled software-defined Internet of Things (IoTs) ecosystem. The framework incorporates a novel cluster-head selection algorithm and a distributed flow-rule verification technique, ensuring network consistency and security. The proposed Blockchain-enabled SDN-IoT architecture exhibits improved average throughput, energy utilization, and overall end-to-end delay compared to a traditional Blockchain approaches. Blockchain approaches. In [68], the author presented a distributed model for smart cities incorporating Blockchain, Software-Defined Networking (SDN), and Network Function Virtualization (NFV). A key contribution is an energy-optimized cluster head selection algorithm designed for efficient procedures. The SDN controller oversees IoT device activities, and Blockchain is employed for detecting and mitigating cyber-attacks in IoT networks. Experimental results demonstrate the superiority of the proposed architecture over existing ones, such as Core and DistArch-SCNet. The presented model exhibits improved throughput, response time, gas consumption, and communication overhead, leading to notable enhancements in overall system performance [69].

The study provided an overview of using blockchain technology to address safety and confidentiality concerns on the Internet of Things and presented the advantages and potential drawbacks of integrating blockchain-based IoT. Similarly, Reference [70] gave a study to establish the specifications for developing an IoT identity management system. They then advocated combining blockchain with the IoT to create a more efficient identity management system to deliver more confidence and effectiveness. Furthermore, Reference [71] presented a blockchain-based integrated IoT infrastructure to protect the integrity of sensing data. Their platform allowed end-users and devices to monitor and control each other in real-time. The results showed that their technology might be a suitable fit for IoT devices with limited resources. Furthermore, Reference [72] the framework proposed using Ethereum for less-power IoT devices to address power consumption issues during communication, transaction verification, and security. Blockchain was suggested to enhance access control efficiency and effectiveness [73]. For example, I presented an access management system based on the blockchain to address confidentiality and security issues in IoT systems. As a decentralized access manager, they used blockchain to make access decisions [75].

The author also proposed using blockchain to create a decentralized control paradigm for Internet of Things systems. They believed this could increase the efficiency of handling access management in IoT solutions. Furthermore, Zhang et al. (2019) the author proposed an access control mechanism based on a smart contract system that utilizes several ACCs (access control contracts).

The cost-effective use of blockchain technology has been proposed to enhance the security and confidentiality of healthcare data [77]. One way to utilize blockchain is to improve the confidentiality of health information by implementing a pseudonym-based encryption system, known as PBE-DA, for electronic health records. Additionally, blockchain can serve as a bridge between medical systems and the Internet of Things health devices. In addition Mishra and Tyagi (2019) suggested a solution to use blockchain technology to produce an intrusion detection system for IoT that can detect unauthorized entry and analyze connection activity. They applied their suggestion to protect patient data in the healthcare industry. Table 7 also includes current studies on blockchain and IoT integration (Fig. 10).

Table 7 Current studies on blockchain and IoT integration
Fig. 10
figure 10

Using BCs in various IoT applications

The study presents the statistical data of the reviewed publications by relevant fields and the role of blockchain in various IoT solutions, with many of the articles focusing on utilizing blockchain in eHealth (Uddin et al. 2021). As recent researchers are interested in healthcare, the next section reviews the state of the arts related to IoT-based healthcare by blockchain.

6.2 IoT-based healthcare using blockchain

The sensitivity of healthcare information requires strict privacy measures. The execution of blockchain in eHealth can address these concerns, enhance service efficiency, and facilitate the shift towards decentralized eHealth systems.

Here is an example of how blockchain can benefit IoT-based healthcare systems. It can be represented in Fig. 11. IoT devices collect patient data, such as vital signs, medication adherence, and other health-related information. This information is then transferred to a blockchain network, which is decentralized and secure. The information is saved on the blockchain, which provides an immutable ledger of all transactions.

Fig. 11
figure 11

Diagram of blockchain for IoT-based healthcare

Smart contracts and rules can be used to define how the data is used and shared. For example, a smart contract could be used to ensure that only authorized healthcare providers have access to the patient's information. Rules can be set up to govern how the data is used, such as who can access it and for what purposes. Healthcare providers can access the data on the blockchain network if they are authorized to do so. This can help improve patient care, as providers can access real-time data about their patients' health status.

Overall, blockchain technology can be very helpful for IoT-based healthcare systems, as it provides:

  1. (1)

    Secure Data Sharing blockchain technology provides a secure and decentralized way to store and share data. Patient data is encrypted and stored on a distributed ledger, which authorized healthcare providers can access. This ensures that patient data is secure and cannot be tampered with or accessed by unauthorized parties.

  2. (2)

    Improved Interoperability blockchain technology can help to improve interoperability between different healthcare systems. Data stored on a blockchain can be accessed by different healthcare providers, regardless of the system they are using. This can help to ensure that patient data is available to providers when and where they need it.

  3. (3)

    Enhanced Data Privacy blockchain technology can help to protect patient data privacy. Data stored on a blockchain is encrypted and can only be accessed by authorized parties. Patients can control who has access to their data and can revoke access at any time.

The following literature highlights the objectives of blockchain-based IoT in healthcare. Literature work can be categorized into different domains, each contributing unique perspectives and solutions to enhance healthcare through technological innovation.

6.2.1 Digital healthcare systems

Author [79] proposed a novel protocol, “Blockchain-enabled IoMT Authenticated Key Exchange” (B-IAKE), this work establishes a distributed environment within the Internet of Medical Things (IoMT). By leveraging Hyperledger Fabric and smart contracts, it eliminates the need for a central trusted entity, ensuring secure access to IoMT-generated data.

6.2.2 Fighting COVID-19

In [3] integrating cognitive computing, IoT, and Blockchain, authors proposed a comprehensive healthcare solution to manage the effects of the COVID-19 epidemic. The architecture spans network, IoT/Blockchain/AI layers, employing smart contracts for effective coordination. In [80] addressing challenges associated with the COVID-19 pandemic, this research delves into the design of IoT and Blockchain systems. The proposed architecture, although not explicitly detailed, contributes solutions proven to be effective in various scenarios. In [81] authors presented a blockchain-enabled Internet of Medical Things (IoMT) system, this study focuses on confidentiality issues. The architectural layers include a device, EC, blockchain network, and data analytics, with an emphasis on combating challenges related to COVID-19. In [82] authors Introduced a telemedical laboratory service, this work employs Cloud Computing, Blockchain, and IoT layers. Clinical tests conducted on patients using IoT medical equipment are communicated instantly, showcasing a distributed approach to healthcare. Authors [83] proposed a zero-knowledge blockchain architecture for Bahrain's IoT smart cities, this study addresses the secure sharing of health information. The architecture involves user layers, data query layers, data structure layers, and existing database infrastructure layers.

6.2.3 Patient monitoring

In [84] authors utilized Hyperledger, this work employed blockchain for secure data storage in patient monitoring. The proposed architecture involves IoT sensing and gateway layers, ensuring tamper-proof storage of medical sensor data. Authors [85] focused on a mobile crowdsourcing system for diabetes research, this study integrates local users, remote users, and mHealth fog services. Continuous Glucose Monitoring (CGM) devices connected to the IoT form the basis of patient monitoring [86]. Proposing a patient monitoring architecture with sensor networks, blockchain cloud networks, and user interfaces, this work emphasizes federated learning and smart contracts for secure and private healthcare.

6.2.4 Drug transportation

In [87] the context of pharmaceutical supply chain management, this study implements a blockchain system. The architecture involves sensor and blockchain layers, demonstrating efficiency in transaction latency and energy consumption.

6.2.5 IoT applications in healthcare

Authors [88] Introduced a multiagent system architecture utilizing private, distributed blockchain, this work focuses on lightweight and secure solutions for Internet of Things (IoTs) systems in healthcare.

In Table 8 provides an overview of various healthcare applications utilizing blockchain technology. Notably, the applications cover diverse aspects of healthcare, ranging from patient monitoring to fighting COVID-19. The proposed architectures, consensus algorithms, and platforms employed differ across studies. In the digital healthcare system proposed in [79], a novel protocol named “Blockchain-enabled IoMT Authenticated Key Exchange” (B-IAKE) is introduced, leveraging Hyperledger Fabric. Similarly, in [3], a solution integrating cognitive computing, IoT, and blockchain is proposed for managing the impact of COVID-19. The patient monitoring system in [84] utilizes Hyperledger, emphasizing secure data storage through blockchain. The study [87] focuses on drug transportation, implementing a hardware-based blockchain system with AES-128 encryption and SHA-256. moreover, the IoT applications in healthcare proposed in [88] introduce a multiagent system architecture with a lightweight consensus algorithm and Diffie–Hellman key exchange. Frameworks proposed in [80,81,82] address fighting COVID-19, each introducing distinct architectures and platforms (e.g., Ethereum, Hyperledger). Furthermore, Reference [83] proposes a zero-knowledge blockchain for IoT smart cities in Bahrain, ensuring secure health information sharing. Patient monitoring solutions presented in [85, 86, 89] highlight various aspects, such as federated learning, private smart healthcare architecture, and proof of concept with enhanced homomorphic encryption. Each study brings its unique approach to leveraging blockchain in healthcare, contributing to the evolving landscape of IoT-based healthcare applications.

Table 8 Comparison between frameworks in IoT-based healthcare using blockchain

In Table 9 compares the limitations of the discussed frameworks. While some frameworks exhibit strengths in decentralization, scalability, and security, others may fall short in certain aspects, such as energy consumption, reliability, and anonymity. The variations in these attributes emphasize the trade-offs inherent in designing blockchain-based healthcare systems.

Table 9 Comparison between limitations in different research

In Table 10 summarizes the contributions of various healthcare applications utilizing IoT. Each study addresses specific challenges in healthcare, ranging from secure key exchange [79] and COVID-19 management [3, 81] to drug transportation [87] and patient monitoring [85, 86, 89]. These contributions collectively advance the understanding and implementation of blockchain and IoT in healthcare, providing valuable insights into diverse applications and potential improvements for future developments.

Table 10 Different healthcare applications that used IoT

7 Open research issues and future challenges

Blockchain technology is still in its early stages, but it has the potential to be powerful. As a result, despite its many benefits, it is confronting several development obstacles, as well as in terms of IoT adoption in healthcare. Overcoming these challenges can be categorized into eight main categories, as demonstrated in Fig. 12. To summarize these challenges and provide potential solutions, we have included Table 11, which outlines each challenge and suggests an algorithm to address it.

Fig. 12
figure 12

Research issues in blockchain of things

Table 11 Research issues and suggested algorithm

7.1 Limited resources

IoT devices frequently have limited resources, such as limited computational power, storage, battery life, and network connectivity. In contrast, blockchain's centralized consensus processes often require significant computational resources and energy. For instance, the PoW mechanism utilized in Bitcoin has been shown to consume a large amount of energy [57]. Because of this, low-power IoT devices may be unable to handle consensus processes requiring a significant amount of energy. Additionally, the large amount of information in blockchains makes implementing them fully on IoT devices infeasible. As of September 2018, the Bitcoin blockchain has grown to almost 185 GB, making storing the entire blockchain on each IoT device impractical.

7.1.1 Suggested solution

Utilizing mobile edge computing (MEC) and cloud computing technologies can help IoT devices overcome their resource limitations. IoT devices can function as lightweight nodes, storing only a portion of the blockchain data (such as the hash value), carrying out less computationally demanding tasks (e.g., initiating transactions), and utilizing Mobile Edge Computing and cloud for more computationally heavy tasks [91]. Fog/Edge-based design reduces latency while allowing for more computational complexity with limited resources [91]. This way, applications that require high processing power and quick response times can be handled. In contrast, most IoT devices use minimal bandwidth. As the number of connected devices grows and blockchain technology demands, significant bandwidth usage may be required. Various suggestions have been put forth to tackle these obstacles, such as utilizing permissioned blockchains for IoT devices [92, 93]. Another option is to employ Blockchain networks that are based on a low-energy consensus method like PoET PBET. Another alternative algorithm is outlined in [94]. IOTA is a solution that is designed for use in IoT systems. It is built on the directed acyclic graph (DAG) called “tangle” [95].

7.2 Security

The IoT system is made up of billions of diverse IoT devices that are often manufactured with minimal focus on security measures. IoT devices with weak security measures are vulnerable to various security risks. Combining IoT with blockchain technology can enhance Confidentiality, Integrity, and Privacy by utilizing blockchain's encryption, immutability, tamper-proofing, and digital signature capabilities. However, security is still a significant concern in deploying a high-performing IoT system that incorporates blockchain. Furthermore, the IoT system cannot use advanced, complicated encryption techniques due to resource limitations. Meanwhile Reference [96], Blockchain technology has some vulnerabilities in security measures, such as attacks on smart contract software and attacks on decentralized autonomous organizations (DAOs).

7.2.1 Suggested solutions

Addressed by either improving the security of IoT systems or closing loopholes in the blockchain. For instance, a cooperative jamming strategy [97] several methods were studied to enhance security issues with the Internet of Things without requiring additional hardware for current Internet of Things nodes. In particular, Reference [98] SABRE (Secure and Authenticated Blockchain Routing Engine) has recently been proposed as a protected relaying system for blockchains that can safeguard blockchains from BGP routing vulnerabilities. To protect against DAO vulnerabilities, platforms such as Corda and Stellar have traded the flexibility of smart contracts for their verifiability [99]. An issue of security in the healthcare sector is implementing blockchain technology in tracking patients, specifically with permission and consortium blockchain systems [100]. In [101] a solution based on a public blockchain that addresses issues of SPOF (single point of failure), MitM attacks, DoS, and data sniffing vulnerabilities for Remote Hardware Management.

7.3 Privacy

Because the healthcare industry requires a high level of privacy, using public Blockchains to store and distribute sensitive data is inappropriate. Every transaction on a public Blockchain is visible to everybody. Having an anonymous identity does not guarantee the safety of sensitive information.

7.3.1 Suggested solution

Private and permissioned Blockchains, in general, are not affected by the privacy issue. As a result, the private Blockchain is the best option for a healthcare application [75, 102, 103]. Gathering personal data, including health details, location, and images, can compromise an individual's privacy. To safeguard against privacy breaches, privacy-preserving scientific computations (PPSC) can be used [104] should be used. Another strategy for developing IoT application trust has been developed [105]. To protect user privacy on a blockchain network, research in both blockchain and IoT has looked into Methods like homomorphic encryption and proxy re-encryption. These methods depend on the Chinese remainder theorem (CRT) and have been studied by researchers like [106,107,108]. Federated learning-based Blockchain provides private data processing. Federated learning enables participants of the Blockchain to learn an ML algorithm without exchanging their information. The Blockchain can then secure the trained algorithm via a smart contract, ensuring its integrity and confidentiality.

7.4 Scalability

Scalability is a complex issue encompassing various factors, such as max delivery ratio, delay, start-up time, and cost per verified transaction. It also refers to a consensus mechanism's ability to be more scalable by supporting many nodes. The primary focus is often on throughput and latency. Throughput measures the number of successful TPS, while latency refers to the period needed to validate and execute a transaction. These properties are decided by the consensus algorithm employed in the Blockchain network.

7.4.1 Suggested Solution

References [109, 110] a review proposed categorizing available scaling solutions into three tiers: Layer-0 for solutions that improve data transmission standards, Layer-1 for on-chain solutions such as connections, consensus, and data structure, and Layer-2 for off-chain solutions such as off-chain channels, cross-chain protocols, and side-chain approaches. Additionally, the survey also suggested the use of private or consortium blockchains for IoT and the creation of more scalable consensus algorithms [58].

7.5 Interoperability

Refers to the capability of various Blockchains to interact seamlessly with one another. This is a main challenge in the field of healthcare, as many Blockchain-based systems in eHealth use a wide range of Blockchain networks and platforms.

7.5.1 Suggested solutions

The growing adoption of Blockchain technology across multiple industries has highlighted the need for a solution allowing different Blockchains to interact and communicate. Blockchain interoperability is a key solution to this problem, and various methods, such as cross-blockchain frameworks, smart contract interaction, and token transfers, have been proposed to achieve this. Additionally, existing standards, such as the GS1-based data standards, are also being used by companies like IBM and Microsoft to facilitate interoperability between different blockchain networks [111,112,113].

7.6 Data management

One primary difficulty when utilizing blockchain technology is its limited storage capacity. Unlike the Internet of Things, known for producing large amounts of data, blockchain was not designed to handle and store significant volumes of information. This limitation in storage capacity can pose significant challenges to developing blockchain in IoT applications. The whole Bitcoin blockchain is roughly 150 terabytes in size, as is the complete Ethereum blockchain. The blockchain is around 400 terabytes in size. It’s necessary to save all the blockchain blocks. In the absence of IoT, devices, like all prior blocks, cannot authenticate transactions generated by other devices. Besides, to create new transactions, past data is necessary [114]. Due to its restricted storage space, the large amount of information produced by IoT sensors, measured in zettabytes, makes it impossible to store on the blockchain. In blockchain networks, it is required that multiple, or even all, nodes have a copy of the data, which put a strain on the constrained resources of IoT devices. This presents a significant obstacle for the combined blockchain and the Internet of Things, as the devices cannot handle and store such massive volumes of information.

7.6.1 Suggested Solutions

Reference [115, 116] to handle the issue of limited storage capacity in blockchain, many researchers have proposed the use of off-chain solutions to handle the vast amount of information sent by IoT. One approach is to combine blockchain storage with traditional cloud storage. Another option is to send IoT data among different sources, such as cloud services, which can provide various storage options, including repositories, local computers, and utilizing a blockchain that is on-chain based on the characteristics of the data and the specific scenario. This method enables the efficient and effective storage of large amounts of information generated by IoT sensors while minimizing the usage of the constrained resources of IoT sensors.

7.7 Consensus algorithm

Consensus is used in blockchain to develop a way for all blockchain nodes to agree. Because of the resource constraints in IoT, selecting a consensus algorithm is critical to resolving resource constraints and security issues in IoT and blockchain.

7.7.1 Suggested solution

Reference [59] suggested Proof of elapsed time and Stellar consensus protocols (SCP) as a good solution for IoT based on healthcare applications with high scalability and low computation overhead, and [94] Tangle is a lightweight, endlessly scalable framework that’s ideal for IoT networks.

7.8 Practical solutions

When preparing this survey, we found that most works suggested frameworks without showing practical solutions, such as [3, 84, 88, 117,118,119,120].

7.8.1 Suggested solutions

Using blockchain to integrate with existing healthcare systems and IoT that require extensive adjustments to current systems (such as a significant duration, meticulous planning, financial support, and specialized human expertise) and additional expenses. In explaining research gaps, we introduce suggested solutions that guide the researchers in implementing and evaluating blockchain integrated with IoT based on healthcare.

8 Discussion

In this survey, the discussion explores and categorizes key challenges encountered in integrating blockchain technology with Internet of Things (IoTs) applications in healthcare. The first challenge, limited resources on IoT devices, necessitates innovative solutions such as leveraging Mobile Edge Computing (MEC) and cloud computing technologies to overcome computational and storage limitations. Addressing security concerns is paramount, given the diverse and often insecure nature of IoT devices, and proposed strategies include cooperative jamming and systems like SABRE to fortify blockchain against vulnerabilities. Privacy concerns, particularly pertinent in the healthcare sector, are addressed by recommending private and permissioned blockchains, complemented by privacy-preserving scientific computations and federated learning. Scalability, a complex issue affecting throughput and latency, can be mitigated using tiered scaling solutions and private or consortium blockchains. Interoperability challenges in healthcare arising from diverse blockchain networks find potential resolutions in cross-blockchain frameworks and standardization efforts. The limited storage capacity of blockchain versus the massive data generated by IoT devices underscores the need for off-chain solutions involving the combination of blockchain with traditional cloud storage or distributed data management. Selecting appropriate consensus algorithms, like Proof of Elapsed Time and Stellar Consensus Protocols, is crucial for overcoming resource constraints and ensuring scalability in healthcare focused IoT applications. Lastly, the gap between theoretical frameworks and practical implementation is highlighted, urging the research community to develop and evaluate tangible solutions for the seamless integration of blockchain and IoT in healthcare systems. Overall, addressing these challenges is imperative for unlocking the full potential of blockchain technology in revolutionizing healthcare through the Internet of Things.

9 Conclusion

This study examines the challenges and opportunities of combining IoT and blockchain technology in the rapidly expanding eHealth industry. The adoption of eHealth, which enables remote care using various technologies has improved the management of chronic illnesses and positively impacted various healthcare domains including EHRs, Remote patient monitoring, forecasting illnesses, tracking medication, and controlling infectious diseases. However, using IoT devices also introduces new security and privacy concerns. The decentralized and dispersed characteristics of blockchain technology and the cryptography employed in its processes, are seen as a potential solution to these challenges. The study aims to provide a detailed overview of the current state of IoT-based healthcare systems utilizing blockchain technology Additionally, it seeks to outline the primary drivers for improving, developing, updating, and implementing new blockchain algorithms to facilitate the creation of a more efficient, safe, and successful eHealth system based on IoT. Furthermore, the study explores current research on IoT-based healthcare integration using blockchain, identifying areas for future research and highlighting challenges in the field.