Every price a smart contract relies on, a collateral ratio in a lending app, a mark price on a perpetuals exchange, a quote on a swap, has to come from somewhere outside the blockchain. A chain cannot see an exchange order book on its own. The software that feeds outside prices into a smart contract is called an oracle, and Base hosts more than one design for doing this. One of the most widely used is Pyth Network, which takes a different approach from the push style feeds you may have read about elsewhere. Pyth is a pull oracle, and understanding what that means helps explain why some apps feel more responsive to fast moving markets than others.
Push oracles versus pull oracles
A push style oracle network writes a price onto the blockchain on its own schedule. It updates when the price moves past a set threshold, or after a fixed amount of time passes, whichever comes first. The data sits onchain, ready for any contract to read, whether or not anyone actually needs it at that exact moment.
A pull oracle flips that around. The price gets signed off the blockchain, continuously, by data providers, but it is not written onchain until someone actually asks for it. An app that needs a price fetches the latest signed update from an offchain service, submits it in the same transaction that uses it, and pays the gas to post it onchain at that moment. Nobody pays to update a price nobody needs yet, and the price an app acts on can be only seconds old rather than waiting for the next scheduled push.
How Pyth actually produces a price
Pyth does not run its own trading desks or scrape prices from public APIs. According to its own documentation, its data comes from more than a hundred first party publishers, firms such as exchanges, trading firms, and market makers that already generate these prices as part of their own business and submit them directly to the network. Each publisher sends not just a price but also its own confidence interval, essentially how sure that specific publisher is about the number it just sent.
Those individual submissions are aggregated by an onchain program for each asset, producing one combined price and one combined confidence interval per feed. Pyth describes that combined interval as a measure of how spread out the publishers' observations are from each other, calculated using the interquartile range of the submissions. Pyth's own documentation is explicit that this reflects disagreement among publishers, not necessarily how uncertain the broader market actually is, and the feature is still described as experimental.
An offchain service, Pyth calls it Hermes, continuously collects these signed publisher updates so that any app can request the latest one on demand. When an app's smart contract needs a price, it pulls the most recent signed update from Hermes, submits it with its transaction, and the Pyth program onchain verifies the signatures before accepting it.
Why the confidence interval is useful, not just a number
A single price without context can hide how reliable it is. If publishers mostly agree, the confidence interval is tight and the price is treated as solid. If a market is thin, volatile, or publishers disagree with each other, the interval widens, and that widening is itself information. Some lending and perpetuals protocols use the interval as a risk signal, for example pausing a liquidation, requiring extra margin, or comparing the interval against a separate time weighted average price before acting, specifically during periods when markets are moving fast and a single bad print could otherwise trigger an unfair liquidation.
What this means if you are just swapping or holding on Base
Most people connecting a wallet to a Base app never call an oracle directly. You do not choose which price feed a protocol uses, and you cannot see at a glance whether a given app is pulling a Pyth price, reading a Chainlink feed, or using a pool derived average. But the design still affects you indirectly:
- A pull oracle can, in principle, give an app a fresher price right before it executes your transaction, since the update is fetched and verified at that moment rather than relying on whatever was last pushed onchain.
- Because updates only happen when requested, a contract that fails to pull a fresh price before acting could still use something stale. The responsibility for pulling an update on time sits with the app you are using, not with you, which is exactly why it is worth caring who built the app.
- The confidence interval exists to protect you during volatile moments, but only if the protocol you are using actually checks it. Not every integration does.
A few things worth checking before trusting a protocol with real funds
Pyth publishing a price and a protocol using that price correctly are two different things. Before relying on any app for lending, leveraged trading, or anything where a bad price could trigger a liquidation, it is reasonable to ask:
- Which oracle, or combination of oracles, the protocol discloses using for each asset, and whether that is stated clearly in its documentation.
- Whether the protocol has been audited with its price feed logic specifically in scope, not just its core contracts.
- Whether the app checks the confidence interval or the age of a pulled update at all, rather than accepting any signed price regardless of how wide or stale it is.
Oracles are infrastructure you are unlikely to ever interact with directly, yet almost everything priced on Base depends on one working correctly in the background. Pyth's pull design and Chainlink's push design solve the same underlying problem from different directions, and plenty of apps on Base use one, the other, or both together as a cross check.
Sources: Pyth: Pyth launches price oracles on Base, Base documentation: Oracles, Pyth price feeds, Pyth documentation: Price Feeds, Pyth: Don't be pretty confident, be Pyth confident.