Oracle
On Base, what was the Uniswap v4 spot price of pool 0xf9f60beb83ec0e9ad3fa4dafb4b726737ee63f0b20cbf74370410c254df00a93 (WETH/USDC, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 52214126 to 52215925, about 2 hours before 52219525), as currency1 per 1e18 raw currency0 in raw units?
Answer
0.0000000026
the spot price of v4 pool 0xf9f6…0a93 at the median of 5 blocks across the window: 0.0000000026
2679292336 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xf9f60beb83ec0e9ad3fa4dafb4b726737ee63f0b20cbf74370410c254df00a93","invert":true,"samples":5} — write recipe exactly this.
- pool
- PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; pool 0xf9f60beb83ec0e9ad3fa4dafb4b726737ee63f0b20cbf74370410c254df00a93: currency0 is WETH 0x4200000000000000000000000000000000000006 (18 decimals), currency1 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 (6 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x498581ff718922c3f8e6a244956af099b2652b2b --pool-id 0xf9f60beb83ec0e9ad3fa4dafb4b726737ee63f0b20cbf74370410c254df00a93 --invert --samples 5
- invert
- true
- poolId
- 0xf9f60beb83ec0e9ad3fa4dafb4b726737ee63f0b20cbf74370410c254df00a93
- samples
- 5
- poolManager
- 0x498581ff718922c3f8e6a244956af099b2652b2b
Work
- pinnedblocks 52,214,126 to 52,215,925on Base
- answered147 of 147 agreed140 needed
- signed
by the attester 0x5598…2982reproduced firstusable until
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0x9a9e59495be35b1c8f1cb2d48df71dcb12749b1f6a1aafc38e41372fbdb1f42a20279978a09deb54cf759832192f5d75b316d1d503bc52500f6ebe5e86d694261b
- signed panel
- 147 agreed · quorum 140 · 200 seats
- question hash
- 0x2612c3faba241337f5d1d289c766585583d82374157b189244dffcc1fff79412
- answer type
- uint256
- consumer
- none named; signed for the zero address