ADI/USD
Market ClosedANALOG DEVICES INC / US DOLLAR · Equity
Price
$371.89
Confidence (±)
±$0.3242
±0.0872%
Last Update
20h ago
Quote
USD
Confidence Band
Pyth Feed ID
0xa388977cbd7b063e456a31267919d86395af058a7558e892dde3c6b38c6240bb
About the ADI/USD Pyth feed
The ADI/USD feed (ANALOG DEVICES INC / US DOLLAR) is an aggregated equity price published on-chain by the Pyth Network — a first-party oracle sourcing quotes from institutional publishers including exchanges, market makers and trading firms. Each update carries a confidence interval (±), an exponent and a publish timestamp, currently around $371.89. PythFeeds streams this feed live from the Hermes API and surfaces its staleness so you can see exactly how fresh the oracle price is.
On-chain (Solidity)
// Read ADI/USD on-chain with the Pyth pull oracle
bytes32 constant ADI_USD =
0xa388977cbd7b063e456a31267919d86395af058a7558e892dde3c6b38c6240bb;
PythStructs.Price memory p =
pyth.getPriceNoOlderThan(ADI_USD, 60); // revert if >60s stale
// real price = p.price * 10 ** p.expoOff-chain (Hermes API)
// Fetch the latest ADI/USD price off-chain (Hermes REST)
const id = "0xa388977cbd7b063e456a31267919d86395af058a7558e892dde3c6b38c6240bb";
const res = await fetch(
`https://hermes.pyth.network/v2/updates/price/latest?ids[]=${id}&parsed=true`
);
const { parsed } = await res.json();
const p = parsed[0].price;
const price = Number(p.price) * 10 ** p.expo;