Ladies and gentlemen, are you also fed up with this—DeFi protocol oracle fees are like a money-consuming beast, continuously running whether you use it or not, constantly devouring your Gas? Today, I will break down a potentially revolutionary new model: the pull-based oracle.



Unlike traditional push oracles. Push mode is a "broadcast" logic, where data is continuously pushed onto the chain regardless of your needs. Pull mode is much smarter—think of it like dining at an upscale restaurant; the chef doesn't prepare the entire menu for every guest in advance. Only when you place an order does the chef start cooking.

The core is four words: on-demand retrieval.

Your DeFi application can be understood as a meticulous but efficient steward. It doesn't blindly receive market data 24/7; instead, it acts only when truly needed—when a user initiates a transaction, the protocol executes liquidation, or a position needs rebalancing—these critical moments trigger a request to the oracle network to fetch the latest and most accurate price data.

This shift brings two immediately noticeable changes.

**First, cost.** No longer paying for useless data pushes during 99% of "idle periods." Gas costs are incurred only at the moment you actually initiate a transaction. For high-frequency DEXs or lending protocols, the long-term savings are astronomical.

**Second, latency.** Because requests are initiated instantly, you get the freshest market snapshot at that moment. The subtle time lag inherent in push models completely disappears.

How does it work? Simply put, it's an efficient relay on the chain. When a smart contract needs a price, it sends out a request. The oracle node network of a DEX or lending protocol receives the signal and responds immediately, aggregating prices from multiple data sources, verifying, and then returning the data to the chain. The entire process is so fast that you hardly notice any delay, and costs are significantly reduced. This is the logic of pull-based oracles—data is no longer produced in a "factory assembly line" batch process but is instead customized and supplied "on order."
View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 4
  • Repost
  • Share
Comment
0/400
ApeDegenvip
· 6h ago
Bro, this pull-based oracle sounds really good, saving gas is no small matter.
View OriginalReply0
FunGibleTomvip
· 6h ago
Wow, finally someone is talking about this. Can Gas fees be saved this much? Pull-based logic is indeed excellent, but how many protocols can truly implement it? If it really can cut major costs, why are so many projects still using push-based methods? Let's observe for now. It often seems that good things are not that simple. Halving costs is basically profit. Let's wait and see the data before making conclusions.
View OriginalReply0
ApyWhisperervip
· 6h ago
Just relying on the "demand and take" trick made me laugh. Finally, someone has revealed the true nature of the money-consuming beast, the oracle.
View OriginalReply0
0xInsomniavip
· 6h ago
Wait, can this pull-based approach really save that much gas? It still seems to depend on how the specific protocol is implemented. --- Damn, this logic really convinced me. On-demand retrieval should have been played like this a long time ago. --- The push oracle system is really outrageous, like paying someone to read you the newspaper 24/7. --- That's what I mean, but can the node network response speed stay stable? Won't there be congestion? --- This is the optimization direction I mentioned. Major protocols should have done this long ago, right? --- Interesting, but is the money saved on gas just eaten up by node fees? --- Finally, someone explained the oracle system clearly. I never understood why gas was so expensive before. --- On-demand retrieval is the best, saving the money is like earning the money. --- Does this model sound like it shifts the cost to the requester? --- DeFi is still too expensive. When will it truly become affordable?
View OriginalReply0
Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate App
Community
English
  • بالعربية
  • Português (Brasil)
  • 简体中文
  • English
  • Español
  • Français (Afrique)
  • Bahasa Indonesia
  • 日本語
  • Português (Portugal)
  • Русский
  • 繁體中文
  • Українська
  • Tiếng Việt