DeRAG-Oracle: A Decentralized Retrieval-Augmented Generation Architecture for On-Chain Risk Telemetry

Smart contracts on the Ethereum Virtual Machine (EVM) cannot natively access unstructured enterprise data due to prohibitive on-chain storage costs and the lack of native text-parsing capabilities. Existing oracles remain bottlenecked by their reliance on strictly deterministic, structured data feeds. We propose DeRAG, a decentralized oracle architecture combining BNB Greenfield object storage, a FastAPI middleware powered by the Google Gemini Large Language Model (LLM), and Chainlink's Custom Runtime Environment (CRE). DeRAG distills complex, unstructured enterprise data into ultra-compact structured payloads that provide a deterministic representation of the probabilistic underlying inference, which can then be securely pushed to on-chain smart contracts. Evaluated over N=30 iterations, the architecture achieved a 100.0% execution success rate with a mean execution latency of 6.882 seconds, reducing raw enterprise data into average payloads of 369.43 bytes. By shifting heavy computation and Retrieval-Augmented Generation (RAG) off-chain, we demonstrate a robust bridge between enterprise data and Web3, enabling stable intelligence delivery designed to minimize on-chain data footprint.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-09
DOI
https://doi.org/10.5281/zenodo.24074185
Primary Topic
Blockchain Technology Applications and Security
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

DeRAG-Oracle: A Decentralized Retrieval-Augmented Generation Architecture for On-Chain Risk Telemetry

Akanksha Sharma
Zenodo (CERN European Organization for Nuclear Research)
Blockchain Technology Applications and Security
preprint

DeRAG-Oracle: A Decentralized Retrieval-Augmented Generation Architecture for On-Chain Risk Telemetry

Akanksha Sharma
preprint en

Abstract

Smart contracts on the Ethereum Virtual Machine (EVM) cannot natively access unstructured enterprise data due to prohibitive on-chain storage costs and the lack of native text-parsing capabilities. Existing oracles remain bottlenecked by their reliance on strictly deterministic, structured data feeds. We propose DeRAG, a decentralized oracle architecture combining BNB Greenfield object storage, a FastAPI middleware powered by the Google Gemini Large Language Model (LLM), and Chainlink's Custom Runtime Environment (CRE). DeRAG distills complex, unstructured enterprise data into ultra-compact structured payloads that provide a deterministic representation of the probabilistic underlying inference, which can then be securely pushed to on-chain smart contracts. Evaluated over N=30 iterations, the architecture achieved a 100.0% execution success rate with a mean execution latency of 6.882 seconds, reducing raw enterprise data into average payloads of 369.43 bytes. By shifting heavy computation and Retrieval-Augmented Generation (RAG) off-chain, we demonstrate a robust bridge between enterprise data and Web3, enabling stable intelligence delivery designed to minimize on-chain data footprint.

Zenodo (CERN European Organization for Nuclear Research)
Indian Institute of Technology Jodhpur (IN)
Blockchain Technology Applications and Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
DeRAG-Oracle: A Decentralized Retrieval-Augmented Generation Architecture for On-Chain Risk Telemetry — Akanksha Sharma · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS