Submitted:
18 April 2025
Posted:
23 April 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Literature Review
2.1. Blockchain and IoT Convergence
2.2. AI Decision-Making and the Need for Audit Trails
2.3. Data Provenance and Audit Trails via Blockchain
3. Proposed Methodology
4. System Architecture
4.1. L1: Data Generation (IoT Devices)
4.2. L2: Data Aggregation (Edge/Fog Gateways)
4.3. L3: Data Services and Blockchain
4.4. L4: Application and Audit Interface
5. Data Provenance and Smart Contract Design

6. Regulatory and Governance Considerations
6.1. Regulatory Alignment
| Regulation | Key Requirements |
Blockchain-Based Framework Imple- mentation |
Compliance Challenges |
Mitigation Strategies |
| EU Artifi-cial Intelli- gence Act (AI Act) |
|
Permanent blockchain logs might exceed retention re- quirements |
Flexible design to manage evolving re- quirements |
|
| GeneralData Pro- tection Regu- lation (GDPR)[24] |
|
|
Blockchain im-mutability con- flicts with era- sure rights | Store pseudony- mous hashes on-chain, per- sonal data off-chain |
| EU CyberResilience Act (CRA) [25] |
|
|
Ensuring timely and ac- curate logging of all security events |
Blockchain-based im- mutable records facili- tate monitoring and compliance |
6.2. Ethical and Governance Principles
| Principle | Framework Capability | Practical Impact |
|---|---|---|
| Trust | Immutable audit trails of AI de-cisions | Reliable, predictable systems and auditable behaviors |
| Transparency | Real-time visibility into AI deci-sions | Enhanced stakeholder confi-dence and proactive engagement |
| Accountability | Clear attribution and logging of decisions |
Simplified regulatory oversight, improved incident management and dispute resolution |
7. Framework and Case Studies
7.1. Generalized Framework for Blockchain-Based AI Audit Trails in IoT
7.1.1. Decentralized Identity and Registry
7.1.2. On-Device Logging Trigger
7.1.3. Blockchain Network and Smart Contracts
7.1.4. Access Control and Data Privacy Layer
7.1.5. Audit and Analytics Tools
7.2. Case Study 1: Healthcare IoT (Smart Healthcare and Medical Devices)
7.2.1. Scenario
7.2.2. Application of Framework
7.2.3. Benefits in Healthcare IoT
7.3. Case Study 2: Industrial IoT (Manufacturing and Supply Chain)
7.3.1. Scenario
7.3.2. Application of Framework
7.3.3. Benefits in Industrial IoT
8. Discussion and Analysis
9. Future Research Directions
9.1. Automated Explanation Logging
9.2. Integration with AI Monitoring Tools
9.3. Policy Compliance Smart Contracts
9.4. Scalability via Layer 2
9.5. Cross-Domain Audit Trails
9.6. User Interfaces for Audit Data
10. Conclusion and Future Directions
References
- IBM. How Blockchain Adds Trust to AI and IoT, 2020. Accessed: 2025-04-05.
- Bhumichai, D.; Smiliotopoulos, C.; Benton, R.; Kambourakis, G.; Damopoulos, D. The Con- vergence of Artificial Intelligence and Blockchain: The State of Play and the Road Ahead. Information 2024, 15. [Google Scholar] [CrossRef]
- Falletti, E. Automated Decisions and Article No. 22 GDPR of the European Union: An Analysis of the Right to an ‘Explanation’, 2019. Accessed: 2025-04-05.
- European Union. Article 19: Automatically Generated Logs, 2024. Accessed: 2025-04-05.Schiller, E.; Esati, E.; Stiller, B. IoT-Based Access Management Supported by AI and Blockchains. Electronics 2022, 11. [Google Scholar] [CrossRef]
- Alharbi, S.; Attiah, A.; Alghazzawi, D. Integrating Blockchain with Artificial Intelligence to.
- Secure IoT Networks: Future Trends. Sustainability 2022, 14. [CrossRef]
- Vilchez, P.; Jacques, S.; Freitag, F.; Meseguer, R. LoRaTRUST: Blockchain-Enabled Trust and Accountability Service for IoT Data. Electronics 2023, 12. [Google Scholar] [CrossRef]
- Dorri, A.; Kanhere, S.S.; Jurdak, R.; Gauravaram, P. Blockchain for IoT security and privacy: The case study of a smart home. In Proceedings of the 2017 IEEE international conference on pervasive computing and communications workshops (PerCom workshops). IEEE, 2017, pp. 618–623.
- Banafa, A. IoT and Blockchain Convergence: Benefits and Challenges, 2017. Accessed: 2025-04-05.
- Fotia, L.; Delicato, F.; Fortino, G. Trust in edge-based internet of things architectures: state of the art and research challenges. ACM Computing Surveys 2023, 55, 1–34. [Google Scholar] [CrossRef]
- Marr, B. Artificial Intelligence and Blockchain: 3 Major Benefits of Combining These Two Mega Trends, 2018. Accessed: 2025-04-05.
- Ananny, M.; Crawford, K. Seeing without Knowing: Limitations of the Transparency Ideal and Its Application to Algorithmic Accountability. New Media & Society 2018, 20, 973–989. [Google Scholar] [CrossRef]
- Sokol, K.; Flach, P. One Explanation Does Not Fit All. KI - Künstliche Intelligenz 2020, 34, 235–250. [Google Scholar] [CrossRef]
- Akther, A.; Arobee, A.; Adnan, A.A.; Auyon, O.; Islam, A.J.; Akter, F. Blockchain As a Platform for Artificial Intelligence (AI) Transparency, 2025, [arXiv:cs.CR/2503.08699]. Accessed: 2025-04-05.
- Liang, X.; Shetty, S.; Tosh, D.; Kamhoua, C.; Kwiat, K.; Njilla, L. ProvChain: A Blockchain-Based Data Provenance Architecture in Cloud Environment with Enhanced Privacy and Availability. In Proceedings of the 2017 17th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGRID), 2017, pp. 468–477. [CrossRef]
- Sharma, M. Hierarchical blockchain-based data provenance in IoT. In Proceedings of the AIP Conference Proceedings. AIP Publishing, 2023, Vol. 2916.
- Zyskind, G.; Nathan, O.; Pentland, A.S. Decentralizing Privacy: Using Blockchain to Protect Personal Data, 2015. Accessed: 2025-04-05.
- Regueiro, C.; Seco, I.; Gutiérrez-Agüero, I.; Urquizu, B.; Mansell, J. A Blockchain-Based Audit Trail Mechanism: Design and Implementation. Algorithms 2021, 14. [Google Scholar] [CrossRef]
- Nie, Z.; Zhang, M.; Lu, Y. HPoC: A Lightweight Blockchain Consensus Design for the IoT. Applied Sciences 2022, 12. [Google Scholar] [CrossRef]
- Pereira, G.; Chaari, M.Z.; Daroge, F. IoT-Enabled Smart Drip Irrigation System Using ESP32. IoT 2023, 4. [Google Scholar] [CrossRef]
- Artificial Intelligence Act, Article 12: Record-Keeping. https://artificialintelligenceact.eu/article/12/, 2024. Accessed April 17, 2025.
- Artificial Intelligence Act, Article 13: Transparency and Provision of Information to Deployers. https://artificialintelligenceact.eu/article/13/, 2024. Accessed April 17, 2025.
- Artificial Intelligence Act, Chapter IX: Post-Market Monitoring, Information Sharing and Market Surveillance. https://artificialintelligenceact.eu/chapter/9/, 2024. Accessed April 17, 2025.
- General Data Protection Regulation (GDPR) – Legal Text. https://gdpr-info.eu/, 2016. Accessed April 17, 2025.
- Cyber Resilience Act – Full Text of Articles. https://www.european-cyber-resilience-act.com/Cyber_Resilience_Act_Articles.html, 2024. Accessed April 17, 2025.
- Javed, I.T.; Alharbi, F.; Bellaj, B.; Margaria, T.; Crespi, N.; Qureshi, K.N. Health-ID: A Blockchain-Based Decentralized Identity Management for Remote Healthcare. Healthcare 2021, 9. [Google Scholar] [CrossRef] [PubMed]
- Gong, L.; Alghazzawi, D.M.; Cheng, L. BCoT Sentry: A Blockchain-Based Identity Authentication Framework for IoT Devices. Information 2021, 12. [Google Scholar] [CrossRef]
- Alharbi, A. Applying Access Control Enabled Blockchain (ACE-BC) Framework to Manage Data Security in the CIS System. Sensors 2023, 23. [Google Scholar] [CrossRef] [PubMed]
- Wang, S.; Zhang, Y.; Guo, Y. A Blockchain-Empowered Arbitrable Multimedia Data Auditing Scheme in IoT Cloud Computing. Mathematics 2022, 10. [Google Scholar] [CrossRef]
- Shukla, M.; Lin, J.; Seneviratne, O. BlockIoT: Blockchain-based Health Data Integration using IoT Devices. AMIA Annu. Symp. Proc. 2022, 2021, 1119–1128. [Google Scholar] [PubMed]
- Vargas, C.; Mira da Silva, M. Case Studies about Smart Contracts in Healthcare. Digit. Health 2023, 9, 20552076231203571. [Google Scholar] [CrossRef] [PubMed]
- U.S. Food and Drug Administration. Artificial Intelligence-Enabled Device Software Functions: Lifecycle Management and Marketing Submission Recommendations; Draft Guidance for Industry and Food and Drug Administration Staff; Availability. https://www.federalregister.gov/documents/2025/01/07/2024-31543/artificial-intelligence-enabled-device-software-functions-lifecycle-management-and-marketing, 2025. Accessed April 17, 2025.
- Godbole, R. Blockchain-Enabled AI for Predictive Maintenance in Industrial IoT. Int. J. Holist. Manag. Perspect. 2023, 4. [Google Scholar]
- Ayobami, A. How Blockchain Technology is Revolutionizing Audit and Control in Informa- tion Systems. https://www.isaca.org/resources/news-and-trends/industry-news/2024/how- 781 blockchain-technology-is-revolutionizing-audit-and-control-in-information-systems, 2024. Accessed April 17, 2025.
- How Walmart Brought Unprecedented Transparency to the Food Supply Chain with Hyper-ledger Fabric. https://8112310.fs1.hubspotusercontent-na1.net/hubfs/8112310/Hyperledger/Printables/Hyperledger_CaseStudy_Walmart_Printable_V4.pdf, 2019. Accessed April 17, 2025.


| Step | Actor/Component | Action/Event | Data Involved |
|---|---|---|---|
| 1 | Soil Moisture Sen-sor | Measures soil moisture | Moisture = 10% |
| 2 | Soil Moisture Sen-sor | Sends measurement toGateway A | Device ID (D123), Moisture =10% |
| 3 | Gateway A | Forwards sensor data to AImodel | Device ID (D123), Moisture =10%, Field ID |
| 4 | AI Decision Model | Evaluates data againstthreshold | Threshold = 15%, MeasuredMoisture = 10%, Decision = "OPEN valve X" |
| 5 | Gateway A | Logs decision event toBlockchain | deviceID=d123, mod- elID=IrrigationModel2ˇ, inputDataHash=0xabc123,decisionOutput="OPEN valve X" |
| 6 | Blockchain Ledger | Validates device and gate-way, stores decision event | Immutable decision recordstored on-chain |
| 7 | Auditor or Farmer | Queries blockchain "Whyvalve opened at time T?" | Retrieves decision metadata |
| 8 | Off-chain Data Stor-age | Verifies stored moisturedata matches input hash | Moisture=10%, inputData-Hash=0xabc123 |
| 9 | Auditor or Farmer | Confirms model details | IrrigationModel2ˇ, thresh-old=15% |
| 10 | Auditor or Farmer | Confirms transparency andcorrectness of decision | Decision validated |
| Challenge Area | Issue and Considerations | Mitigation Strategies |
|---|---|---|
| Scalability and Per-formance [19] | Blockchain logging can strainsystem throughput, storage, and latency. |
|
| Privacy and DataManagement [2] | Immutable logging raises pri-vacy and GDPR compliance con- cerns. |
|
| Ethical and SocialImplications [2] | Transparency might lead to surveillance concerns or misuse. |
|
| Security Considera-tions [7] | Vulnerabilities in devices, con-sensus mechanisms, and smart contracts. |
|
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).