Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x415829f72e9f54531c26eae76f107618540e898a45d6ae35959e143f5faca704 (ETH/IMD, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26120498 to 26120796, about 1 hour before 26121095), as currency0 per 1e18 raw currency1 in raw units?
Answer
0.0032 ETH
the spot price of v4 pool 0x4158…a704 at the median of 9 blocks across the window: 0.0032 ETH
3275004467125290 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x415829f72e9f54531c26eae76f107618540e898a45d6ae35959e143f5faca704","samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 9.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is native ETH (address 0), currency1 is IMD 0xd34a99bc0f67ae1bbd63c660e6d0b0dd03e263b7.
- poolId
- 0x415829f72e9f54531c26eae76f107618540e898a45d6ae35959e143f5faca704
- samples
- 9
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,120,498 to 26,120,796 to · on Ethereum mainnet
- answered143 of 143 agreed140 needed
- signed
by the attester 0x5598…2982reproduced firstexpired
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0xde858d435b14421ecc6a3df86527ec5a7cd96faa08da6dfe229f51049ecada655152f1af5f78341be86b64fa2bbff5af30e6ea0aaf6c63971b5a34c0a2f404331b
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0x8a2368270d606f563269d2550a9ca25121b92ec26081ae4db0aad91e12543653
- answer type
- uint256
- consumer
- none named; signed for the zero address