Pulling the data you deserve
summary
Pull oracle delivers off‑chain prices by having users fetch a signed update from the Hermes endpoint and submit it on‑chain, rather than waiting for periodic pushes. Workflow: copy the constant price feed ID, request the price update via Hermes REST/SDK/WebSocket (or curl), hex‑prefix the payload, call the oracle’s payable updatePriceFeeds method (costs 1 wei per price), then read with getPrice (getPriceUnsafe skips the 60s freshness check). Pyth lists ~7K price feeds and ~3K entropy entries; entropy uses a commit‑reveal callback model.
AI-written summary · about
chapters (9)
- 0:00Workshop introduction
- 1:27P Oracle vs pull oracles
- 5:50P Oracle components
- 9:05Fetching price data
- 14:34P Oracle errors
- 18:43Random numbers with P
- 23:05Hackathon guidelines
- 24:29Q&A
- 30:00Closing
related talks
28mLearn how to Pull Prices and consume Random Numbers
13mData Feeds for Smart Contracts
29mDrilling for Data: Powering DeFi Applications
31mRate Products Workshop
30mCase Study Productizing AsyncAPI for Data Replication, Changed Data Capture
52mMaking sense of Crypto Market Data in real time
21mDeep dive: Data loading
16mMaking Data Work for You
